Last active
January 4, 2016 06:48
-
-
Save kimar/8583975 to your computer and use it in GitHub Desktop.
Git Commit-Hash based Build Versioning for your iOS Project
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
/usr/libexec/Plistbuddy -c "Set CFBundleVersion $(git log --pretty=format:'%h' -n 1)" "${PROJECT_DIR}/${INFOPLIST_FILE}" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment