вторник, 15 августа 2017 г.

Set the build number to the count of Git commits

# Set the build number to the count of Git commits

buildNumber=$(git rev-list --count --first-parent HEAD)

/usr/libexec/PlistBuddy -c "Set :CFBundleVersion $buildNumber""${PROJECT_DIR}/${INFOPLIST_FILE}"






Add new script to build phase and paste it.

Комментариев нет:

Related Posts Plugin for WordPress, Blogger...