This is an automated email from the ASF dual-hosted git repository.

cdutz pushed a commit to branch develop
in repository https://gitbox.apache.org/repos/asf/plc4x.git


The following commit(s) were added to refs/heads/develop by this push:
     new 9e7c44f9c9 build: Fixed an issue in the release-1-create-branch.sh 
script.
9e7c44f9c9 is described below

commit 9e7c44f9c9f866d814c48672b03176b6d5e7b62c
Author: Christofer Dutz <cd...@apache.org>
AuthorDate: Fri Feb 16 08:05:07 2024 +0100

    build: Fixed an issue in the release-1-create-branch.sh script.
---
 tools/release-1-create-branch.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tools/release-1-create-branch.sh b/tools/release-1-create-branch.sh
index 5f71ff362b..f1dab8aba0 100755
--- a/tools/release-1-create-branch.sh
+++ b/tools/release-1-create-branch.sh
@@ -27,7 +27,7 @@ if [[ $(git status --porcelain) ]]; then
 fi
 
 # 1. Get and calculate the current version (local)
-PROJECT_VERSION=$(../mvnw -f ../pom.xml -q -Dexec.executable=echo 
-Dexec.args="${project.version}" --non-recursive exec:exec)
+PROJECT_VERSION=$(../mvnw -f ../pom.xml -q -Dexec.executable=echo 
-Dexec.args="\${project.version}" --non-recursive exec:exec)
 RELEASE_VERSION=${PROJECT_VERSION%"-SNAPSHOT"}
 RELEASE_SHORT_VERSION=${RELEASE_VERSION%".0"}
 BRANCH_NAME="rel/$RELEASE_SHORT_VERSION"

Reply via email to