Skip to content

Instantly share code, notes, and snippets.

@darkseed
Created August 12, 2011 00:43
Show Gist options
  • Save darkseed/1141193 to your computer and use it in GitHub Desktop.
Save darkseed/1141193 to your computer and use it in GitHub Desktop.
Set CFBundleVersion to current Git revision
/usr/libexec/PlistBuddy -c "Set CFBundleVersion `git rev-parse --short HEAD`" "$BUILT_PRODUCTS_DIR/$INFOPLIST_PATH"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment