Skip to content

Instantly share code, notes, and snippets.

@kitschpatrol
Created May 9, 2014 14:38
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save kitschpatrol/6a01b391854cd6a006d2 to your computer and use it in GitHub Desktop.
Save kitschpatrol/6a01b391854cd6a006d2 to your computer and use it in GitHub Desktop.
Git version tagger
#!/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