From 8f2d4e596b76ed4867a32ddce24559c22a16a26a Mon Sep 17 00:00:00 2001 From: Rodrigo Kreutz <8869678+rkreutz@users.noreply.github.com> Date: Thu, 16 Jul 2020 23:46:49 +0100 Subject: [PATCH] Update deploy-appstore.yml --- .github/workflows/deploy-appstore.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/deploy-appstore.yml b/.github/workflows/deploy-appstore.yml index e85cbe9..36e6669 100644 --- a/.github/workflows/deploy-appstore.yml +++ b/.github/workflows/deploy-appstore.yml @@ -44,7 +44,7 @@ jobs: issuer-id: ${{ secrets.APPSTORE_ISSUER_ID }} api-key-id: ${{ secrets.APPSTORE_API_KEY_ID }} api-private-key: ${{ secrets.APPSTORE_API_PRIVATE_KEY }} - - name: Increment Build Number + - name: Set Build Number run: | /usr/libexec/PlistBuddy -c "Set :CFBundleVersion ${GITHUB_RUN_NUMBER}" "${XC_INFO_PLIST_PATH}" - name: Get Version Number @@ -82,7 +82,7 @@ jobs: -derivedDataPath "${DERIVED_DATA_PATH}" \ -archivePath "${ARCHIVE_PATH}" \ -resultBundlePath "${RESULT_BUNDLE_PATH}" \ - CURRENT_PROJECT_VERSION="${BUILD_NUMBER}" \ + CURRENT_PROJECT_VERSION="${GITHUB_RUN_NUMBER}" \ PROVISIONING_PROFILE=${{ secrets.XC_PROFILE }} \ IPHONEOS_DEPLOYMENT_TARGET='13.0' \ archive