7 lines
192 B
Bash
7 lines
192 B
Bash
|
#!/bin/bash
|
||
|
if [ "$#" != "1" ] ; then
|
||
|
echo "ERROR: Version missing or wrong arguments!"
|
||
|
exit 1
|
||
|
fi
|
||
|
mvn versions:set -DnewVersion="${1}" -DallowSnapshots=true -DgenerateBackupPoms=false
|