Add script to update version numbers

This commit is contained in:
Graham Triggs 2016-07-07 10:21:30 +01:00
parent f954fdbde4
commit 86aa9e566b

12
update-versions.sh Executable file
View file

@ -0,0 +1,12 @@
#!/bin/sh
if [ -z "$1" ]
then
echo 'New version number required eg. 1.9.0-rc1'
exit 1
fi
mvn versions:set -DgenerateBackupPoms=false -DnewVersion=$1
cd installer
mvn versions:set -DgenerateBackupPoms=false -DnewVersion=$1
cd ..