From c317f97dc4612878fc6d6a63f13973eacdc0b9cb Mon Sep 17 00:00:00 2001 From: CMK Date: Tue, 8 Nov 2022 14:37:28 +0800 Subject: [PATCH] fix: CURRENT_PROJECT_VERSION not update issue --- .github/scripts/build-release.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/scripts/build-release.sh b/.github/scripts/build-release.sh index 5ca5569f6..e3efc59df 100755 --- a/.github/scripts/build-release.sh +++ b/.github/scripts/build-release.sh @@ -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}" \