-
-
Save Abizern/336603 to your computer and use it in GitHub Desktop.
Perl script to inject the git sha into the info.plist
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
HEAD=`/usr/local/bin/git rev-parse --short HEAD` | |
defaults write "$BUILT_PRODUCTS_DIR/$INFOPLIST_PATH" CFBundleVersion "$HEAD" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment