Skip to content

Instantly share code, notes, and snippets.

@mzarra
Created May 10, 2009 21:54
Show Gist options
  • Save mzarra/109764 to your computer and use it in GitHub Desktop.
Save mzarra/109764 to your computer and use it in GitHub Desktop.
HEAD=`git rev-parse --short HEAD`
defaults write "$BUILT_PRODUCTS_DIR/$EXECUTABLE_NAME.app/Contents/Info" CFBundleVersion "$HEAD"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment