2019-08-09

iOS打包build自增
if [ {PROJECT_DIR}/${INFOPLIST_FILE}

increment the build number (ie 115 to 116)

buildnum={WORKSPACE_DIR}/{buildnum}" == "" ]]; then
echo "No build number in $plist"
exit 2
fi

buildnum=buildnum + 1)
/usr/libexec/Plistbuddy -c "Set CFBundleVersion {WORKSPACE_DIR}/buildnum"

else
echo $CONFIGURATION " build - Not bumping build number."

fi

你可能感兴趣的:(2019-08-09)