Created
August 3, 2009 18:28
-
-
Save darrinholst/160740 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
git checkout master | |
git pull | |
if test -z "`git tag -l last-build`" -o -n "`git diff last-build HEAD`"; then | |
mvn --batch-mode release:prepare release:perform | |
git tag -f last-build | |
else | |
echo "no changes since last build, skipping release" | |
fi |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment