This file contains 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
# Use git describe as build number | |
echo "Updating version/build number from git..." | |
plist=${PROJECT_DIR}/${INFOPLIST_FILE} | |
# Get build/version number | |
versionnum=`git describe --tags | awk '{split($0,a,"-"); print a[1]}'` | |
buildnum=`git describe --tags` | |
if [[ "${versionnum}" == "" ]]; then |