From ff49f772ba18631abbc33e3f5b99c19acde233c7 Mon Sep 17 00:00:00 2001 From: James Adams Date: Wed, 6 Nov 2024 16:16:43 +0000 Subject: [PATCH] releasing: prevent globbing and word splitting of VERSION --- src/releasing/releaser.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/releasing/releaser.sh b/src/releasing/releaser.sh index 837ac73988..6475d206b2 100755 --- a/src/releasing/releaser.sh +++ b/src/releasing/releaser.sh @@ -266,7 +266,7 @@ if gpg-agent; then for r in $REPOS_MVN; do echo_info "---------------- Releasing $r ----------------" cd $r - mvn -e -q -DautoVersionSubmodules=true -Dgpg.useagent=true -Darguments=-Dgpg.useagent=true -B -DreleaseVersion=$VERSION clean release:prepare + mvn -e -q -DautoVersionSubmodules=true -Dgpg.useagent=true -Darguments=-Dgpg.useagent=true -B -DreleaseVersion="$VERSION" clean release:prepare if [[ $? -gt 0 ]]; then echo_error "RELEASE FAILURE" exit 1