Set version in all modules (#143)

This commit is contained in:
Paul Campbell 2018-11-07 11:03:08 +00:00 committed by GitHub
parent 632cb8fbc6
commit 8bd2525db1
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -9,7 +9,11 @@ fi
NEXT=$1
echo "Updating version to $NEXT..."
mvn versions:set -DnewVersion=$NEXT -DgenerateBackupPoms=false -DprocessAllModules
SET_VERSION="mvn versions:set -DnewVersion=$NEXT -DgenerateBackupPoms=false -pl"
$SET_VERSION .
$SET_VERSION builder
$SET_VERSION tile
$SET_VERSION ruleset
echo "Updating README template..."
perl -p -i -e "s,DEV-SNAPSHOT</,$NEXT</," builder/src/main/resources/README-template.md tile/pom.xml
perl -p -i -e "s,DEV-SNAPSHOT</,$NEXT</," builder/src/main/resources/README-template.md
echo "Done."