Skip to content

Commit

Permalink
Use batch mode for update-version.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
gsmet committed Nov 25, 2023
1 parent 8fc3e7c commit 0685076
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 0685076

Please sign in to comment.