Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- echo "CONFIG $CONFIGURATION"
- if [ "$CONFIGURATION" != "Release" ]; then
- exit 0
- fi
- BUILD_NUMBER=$(git rev-list HEAD --count)
- /usr/libexec/PlistBuddy -c "Set :CFBundleVersion $BUILD_NUMBER" "$INFOPLIST_FILE"
- # For debugging:
- echo "BUILD NUMBER: $BUILD_NUMBER"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement