Add script to update version numbers
This commit is contained in:
parent
f954fdbde4
commit
86aa9e566b
1 changed files with 12 additions and 0 deletions
12
update-versions.sh
Executable file
12
update-versions.sh
Executable 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 ..
|
Loading…
Add table
Reference in a new issue