Created
March 16, 2012 10:03
-
-
Save timblair/2049386 to your computer and use it in GitHub Desktop.
A helper script to manually tag a code release.
This file contains 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
#!/bin/bash | |
if [ $# -ne 1 ]; then | |
echo "Please supply a commit SHA to tag." | |
exit 1 | |
fi | |
git tag -af deployed $1 -m "Deployed to production." && git push origin tag deployed |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment