[New] added new setVersion.sh script

This commit is contained in:
Robert von Burg 2014-09-19 20:38:54 +02:00
parent fe37e0aae0
commit a95dcb5f41
1 changed files with 6 additions and 0 deletions

6
setVersion.sh Executable file
View File

@ -0,0 +1,6 @@
#!/bin/bash
if [ "$#" != "1" ] ; then
echo "ERROR: Version missing or wrong arguments!"
exit 1
fi
mvn versions:set -DnewVersion="${1}" -DallowSnapshots=true -DgenerateBackupPoms=false