Created
February 26, 2014 13:41
-
-
Save bananita/3415194c2610e49a5bf9 to your computer and use it in GitHub Desktop.
date as build number
This file contains hidden or 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
build_number=`date +%d.%m.%Y` | |
for x in `find ${SRCROOT}/Resources/Applications -name "Info.plist" -print`; do | |
/usr/libexec/PlistBuddy -c "Set :CFBundleVersion ${build_number}" "$x" | |
done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment