fix: CURRENT_PROJECT_VERSION not update issue

This commit is contained in:
CMK 2022-11-08 14:37:28 +08:00
parent 78ce26b889
commit c317f97dc4
1 changed files with 2 additions and 0 deletions

View File

@ -36,6 +36,8 @@ BUILD_NUMBER=$(app-store-connect get-latest-testflight-build-number $ENV_APP_ID
BUILD_NUMBER=$((BUILD_NUMBER+1))
CURRENT_PROJECT_VERSION=${BUILD_NUMBER:-0}
agvtool new-version -all $CURRENT_PROJECT_VERSION
xcrun xcodebuild clean \
-workspace "${WORKSPACE}" \
-scheme "${SCHEME}" \