Last active
February 4, 2018 10:33
-
-
Save TFaga/7b5854543e903e50aed294b66b777418 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env bash | |
mvn versions:set -DnewVersion=$1 | |
mvn versions:commit | |
git add . | |
git commit -S -m "Release v$1" | |
git tag -s v$1 -m "Release v$1" | |
mvn versions:set -DnewVersion=$2 | |
mvn versions:commit | |
git add . | |
git commit -S -m "Updated to next SNAPSHOT version" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment