Created
May 9, 2014 14:38
-
-
Save kitschpatrol/6a01b391854cd6a006d2 to your computer and use it in GitHub Desktop.
Git version tagger
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 | |
# Automatically tags the git repo's current head with | |
# the latest build number from the build number scratch file | |
PLIST_FILE="../SciGames Sandbox/SciGames Sandbox-Info.plist" | |
BUILD_NUMBER=`cat ../BuildNumber` | |
echo Tagging current head with \"$BUILD_NUMBER\" | |
`git tag $BUILD_NUMBER` |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment