Created
July 18, 2010 21:36
-
-
Save CastIrony/480731 to your computer and use it in GitHub Desktop.
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
bundleVersion=$(/usr/libexec/PlistBuddy -c "Print CFBundleVersion" Tyche-Info.plist) | |
buildNumber=$(/usr/libexec/PlistBuddy -c "Print DDBuildNumber" Tyche-Info.plist) | |
buildNumber=$(($buildNumber + 1)) | |
/usr/libexec/PlistBuddy -c "Set :DDBuildNumber $buildNumber" Tyche-Info.plist | |
/usr/local/git/bin/git add . | |
/usr/local/git/bin/git commit -m "Version $bundleVersion.$buildNumber" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment