Created
November 18, 2015 20:06
-
-
Save michaelloistl/fe83e157f3474aa63aea to your computer and use it in GitHub Desktop.
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
TARGET="$PROJECT_DIR/$PRODUCT_NAME/Info.plist" | |
echo $TARGET | |
OLD_NUMBER=`/usr/libexec/PlistBuddy -c "Print CFBundleVersion" "$TARGET"` | |
NEW_NUMBER=$((OLD_NUMBER+=1)) | |
`/usr/libexec/PlistBuddy -c "Set CFBundleVersion $NEW_NUMBER" "$TARGET"` |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment