Skip to content

Commit

Permalink
Merge pull request #37318 from gsmet/batch-mode-update-version
Browse files Browse the repository at this point in the history
Use batch mode for update-version.sh
  • Loading branch information
gsmet authored Nov 25, 2023
2 parents d1bcaa3 + 0685076 commit 4e6a95a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion update-version.sh
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ if [ $# -eq 0 ]; then
fi
VERSION=$1

./mvnw -Dscan=false -Dgradle.cache.local.enabled=false versions:set -Dtcks -DnewVersion="${VERSION}" -DgenerateBackupPoms=false -DprocessAllModules -Prelocations
./mvnw -e -B -Dscan=false -Dgradle.cache.local.enabled=false versions:set -Dtcks -DnewVersion="${VERSION}" -DgenerateBackupPoms=false -DprocessAllModules -Prelocations

if [ -f devtools/gradle/gradle.properties ]; then
sed -i -r "s/^version( ?= ?).*$/version\1${VERSION}/" devtools/gradle/gradle.properties
Expand Down

0 comments on commit 4e6a95a

Please sign in to comment.