Updating versions across all modules that are relevant for the release-profile

This commit is contained in:
Joakim Erdfelt 2020-10-02 12:46:35 -05:00
parent 40664784f3
commit 116d1d3477
No known key found for this signature in database
GPG Key ID: 2D0E1FB8FE4B68B4
1 changed files with 2 additions and 0 deletions

View File

@ -151,6 +151,7 @@ if proceedyn "Are you sure you want to release using above? (y/N)" n; then
# This is equivalent to 'mvn release:prepare'
if proceedyn "Update project.versions for $VER_RELEASE? (Y/n)" y; then
mvn org.codehaus.mojo:versions-maven-plugin:2.7:set \
-Peclipse-release \
-DoldVersion="$VER_CURRENT" \
-DnewVersion="$VER_RELEASE" \
-DprocessAllModules=true
@ -180,6 +181,7 @@ if proceedyn "Are you sure you want to release using above? (y/N)" n; then
cat VERSION.txt.backup >> VERSION.txt
echo "Update project.versions for $VER_NEXT"
mvn org.codehaus.mojo:versions-maven-plugin:2.7:set \
-Peclipse-release \
-DoldVersion="$VER_RELEASE" \
-DnewVersion="$VER_NEXT" \
-DprocessAllModules=true