Skip to content

Instantly share code, notes, and snippets.

@looping
Last active January 3, 2016 10:19
Show Gist options
  • Save looping/8448177 to your computer and use it in GitHub Desktop.
Save looping/8448177 to your computer and use it in GitHub Desktop.
CFBundleVersion
/usr/libexec/PlistBuddy -c "Set :CFBundleVersion `cd ${PROJECT_DIR} && git rev-list head | sort | wc -l | awk '{print $1}'`" "${INFOPLIST_FILE}"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment