From ea55da98dce394180432635d60cd6418af8a8e38 Mon Sep 17 00:00:00 2001 From: David Date: Tue, 25 Apr 2023 15:06:13 +0700 Subject: [PATCH] [316] Update syntax Remove redundant code --- .github/workflows/deploy_app_store.yml | 2 +- .github/workflows/deploy_production_firebase.yml | 2 +- .github/workflows/deploy_staging_firebase.yml | 2 +- .github/workflows/test_upload_build_to_test_flight.yml | 2 +- fastlane/Fastfile.swift | 6 ------ 5 files changed, 4 insertions(+), 10 deletions(-) diff --git a/.github/workflows/deploy_app_store.yml b/.github/workflows/deploy_app_store.yml index e3f367df..89be3476 100644 --- a/.github/workflows/deploy_app_store.yml +++ b/.github/workflows/deploy_app_store.yml @@ -74,7 +74,7 @@ jobs: - uses: yanamura/ios-bump-version@v1 with: - build-number: ${{ github.run_number }} + build-number: ${{github.run_number}} - name: Build and Test run: bundle exec fastlane buildAndTest diff --git a/.github/workflows/deploy_production_firebase.yml b/.github/workflows/deploy_production_firebase.yml index 672c6953..46decd00 100644 --- a/.github/workflows/deploy_production_firebase.yml +++ b/.github/workflows/deploy_production_firebase.yml @@ -71,7 +71,7 @@ jobs: - uses: yanamura/ios-bump-version@v1 with: - build-number: ${{ github.run_number }} + build-number: ${{github.run_number}} - name: Build and Test run: bundle exec fastlane buildAndTest diff --git a/.github/workflows/deploy_staging_firebase.yml b/.github/workflows/deploy_staging_firebase.yml index 18de9850..de1532ae 100644 --- a/.github/workflows/deploy_staging_firebase.yml +++ b/.github/workflows/deploy_staging_firebase.yml @@ -77,7 +77,7 @@ jobs: - uses: yanamura/ios-bump-version@v1 with: - build-number: ${{ github.run_number }} + build-number: ${{github.run_number}} - name: Build and Test run: bundle exec fastlane buildAndTest diff --git a/.github/workflows/test_upload_build_to_test_flight.yml b/.github/workflows/test_upload_build_to_test_flight.yml index f1d7050b..95644ac6 100644 --- a/.github/workflows/test_upload_build_to_test_flight.yml +++ b/.github/workflows/test_upload_build_to_test_flight.yml @@ -64,7 +64,7 @@ jobs: - uses: yanamura/ios-bump-version@v1 with: - build-number: ${{ github.run_number }} + build-number: ${{github.run_number}} - name: Build App and Distribute to AppStore run: bundle exec fastlane buildAndUploadToAppStore diff --git a/fastlane/Fastfile.swift b/fastlane/Fastfile.swift index 6a0ac126..d6139b37 100644 --- a/fastlane/Fastfile.swift +++ b/fastlane/Fastfile.swift @@ -111,12 +111,6 @@ class Fastfile: LaneFile { setAppVersion() AppStoreAuthentication.connectAPIKey() -// if Secret.bumpAppStoreBuildNumber { -// bumpAppstoreBuild() -// } else { -// bumpBuild() -// } - buildAppStoreLane() Distribution.uploadToAppStore()