2018-01-24 21:56:07 +00:00
|
|
|
#!/usr/bin/env bash
|
|
|
|
|
|
|
|
if test $# != 2
|
|
|
|
then
|
|
|
|
echo "current and next version missing"
|
|
|
|
exit
|
|
|
|
fi
|
|
|
|
|
|
|
|
CURRENT=$1
|
|
|
|
NEXT=$2
|
|
|
|
|
|
|
|
echo Updating version from $CURRENT to $NEXT
|
|
|
|
|
2018-08-28 19:53:46 +01:00
|
|
|
mvn versions:set -DnewVersion=$NEXT
|
2018-05-14 20:30:13 +01:00
|
|
|
perl -p -i -e "s,$CURRENT</,$NEXT</," builder/pom.xml builder/src/main/resources/README-template.md ruleset/pom.xml tile/pom.xml tile/tile.xml
|