vitro/update-versions.sh
2016-07-07 10:21:30 +01:00

12 lines
241 B
Bash
Executable file

#!/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 ..