Created
November 7, 2015 18:58
Revisions
-
Jonathan Crooke revised this gist
Nov 7, 2015 . No changes.There are no files selected for viewing
-
Jonathan Crooke created this gist
Nov 7, 2015 .There are no files selected for viewing
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 charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,4 @@ PLIST=${BUILT_PRODUCTS_DIR}/${PRODUCT_NAME}.app/Info.plist OFFSET=300 COUNT=$(expr $(git rev-list HEAD --count) + $OFFSET) /usr/libexec/PlistBuddy -c "Set CFBundleVersion $COUNT" "$PLIST"