Skip to content

Commit

Permalink
fix: also use snapshots in version updating script
Browse files Browse the repository at this point in the history
  • Loading branch information
metacosm committed Aug 19, 2024
1 parent 5ce989a commit 9e513e8
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 -e -B -Dscan=false -Dgradle.cache.local.enabled=false versions:set -Dtcks -DnewVersion="${VERSION}" -DgenerateBackupPoms=false -DprocessAllModules -Prelocations -DupdateBuildOutputTimestampPolicy=always
./mvnw -e -B -Dscan=false -Dgradle.cache.local.enabled=false versions:set -Dtcks -DnewVersion="${VERSION}" -DgenerateBackupPoms=false -DprocessAllModules -Prelocations,use-snapshots -DupdateBuildOutputTimestampPolicy=always

if [ -f independent-projects/enforcer-rules/src/it/smoketest/pom.xml ]; then
# update the parent version only using indentation
Expand Down

0 comments on commit 9e513e8

Please sign in to comment.