strolch/setVersion.sh

7 lines
192 B
Bash
Raw Normal View History

2014-09-19 20:38:54 +02:00
#!/bin/bash
if [ "$#" != "1" ] ; then
echo "ERROR: Version missing or wrong arguments!"
exit 1
fi
mvn versions:set -DnewVersion="${1}" -DallowSnapshots=true -DgenerateBackupPoms=false