From 10d7760663c6167048215d92d36e94f6ce9bc626 Mon Sep 17 00:00:00 2001 From: Claude Date: Fri, 6 Nov 2026 10:46:23 +0000 Subject: [PATCH] deploy.sh: take the version from the manifest The version was written in deploy.sh as well, and had to be raised there for every release. Plugin, component and package are built together by package/build.sh in codeling/bfstop now, which checks that their versions agree (tests/lint/check-versions.php). Co-Authored-By: Claude Opus 5.5 Claude-Session: https://claude.ai/code/session_01AFJFMMUpch4LGexEiXN8Nc --- deploy.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/deploy.sh b/deploy.sh index 33c8acd..df06ef5 100755 --- a/deploy.sh +++ b/deploy.sh @@ -1,6 +1,8 @@ #!/bin/bash name=bfstop -version=2.0.0 +# released together with the plugin, with the same version: see +# tests/lint/check-versions.php and package/build.sh of codeling/bfstop +version="$(sed -n 's:.*\(.*\).*:\1:p' "$(dirname "$0")/${name}.xml" | head -n 1)" component_name=com_${name} site_files=site/*