Set version in all modules (#143)
This commit is contained in:
parent
632cb8fbc6
commit
8bd2525db1
1 changed files with 6 additions and 2 deletions
|
@ -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."
|
||||
|
|
Loading…
Reference in a new issue