Skip to content

Commit

Permalink
build: Fixed an issue in the release-1-create-branch.sh script.
Browse files Browse the repository at this point in the history
  • Loading branch information
chrisdutz committed Feb 16, 2024
1 parent a1da03a commit 9e7c44f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tools/release-1-create-branch.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down

0 comments on commit 9e7c44f

Please sign in to comment.