Advertisement
Guest User

Untitled

a guest
Jan 31st, 2015
165
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.26 KB | None | 0 0
  1. echo "CONFIG $CONFIGURATION"
  2. if [ "$CONFIGURATION" != "Release" ]; then
  3. exit 0
  4. fi
  5.  
  6. BUILD_NUMBER=$(git rev-list HEAD --count)
  7. /usr/libexec/PlistBuddy -c "Set :CFBundleVersion $BUILD_NUMBER" "$INFOPLIST_FILE"
  8.  
  9. # For debugging:
  10. echo "BUILD NUMBER: $BUILD_NUMBER"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement