Move a few extra steps into lanes

- Rename some lanes
- Use explicit fastlane commands for metadata
This commit is contained in:
Davide De Rosa 2021-10-06 12:58:22 +02:00
parent 17b17fa255
commit 59f0bd5c32
3 changed files with 7 additions and 13 deletions

View File

@ -58,17 +58,15 @@ jobs:
- name: Build (macOS) - name: Build (macOS)
run: | run: |
bundle exec fastlane --env mac,beta create_archive bundle exec fastlane --env mac,beta create_archive
scripts/ci/reset-archive.sh
- name: Build (iOS) - name: Build (iOS)
run: | run: |
bundle exec fastlane --env ios,beta create_archive bundle exec fastlane --env ios,beta create_archive
scripts/ci/reset-archive.sh
- name: Upload to App Store (macOS) - name: Upload to App Store (macOS)
run: | run: |
bundle exec fastlane --env mac,beta store_deploy bundle exec fastlane --env mac,beta store_upload
- name: Upload to App Store (iOS) - name: Upload to App Store (iOS)
run: | run: |
bundle exec fastlane --env ios,beta store_deploy bundle exec fastlane --env ios,beta store_upload
submit_to_testflight: submit_to_testflight:
runs-on: macos-10.15 runs-on: macos-10.15
needs: upload_to_app_store needs: upload_to_app_store
@ -92,13 +90,11 @@ jobs:
- name: Submit to TestFlight (macOS) - name: Submit to TestFlight (macOS)
run: | run: |
export PILOT_CHANGELOG=`ci/build-changelog.sh mac` export PILOT_CHANGELOG=`ci/build-changelog.sh mac`
export PILOT_BUILD_NUMBER=`ci/build-number.sh` bundle exec fastlane --env mac,beta store_beta
bundle exec fastlane --env mac,beta beta_deploy
- name: Submit to TestFlight (iOS) - name: Submit to TestFlight (iOS)
run: | run: |
export PILOT_CHANGELOG=`ci/build-changelog.sh ios` export PILOT_CHANGELOG=`ci/build-changelog.sh ios`
export PILOT_BUILD_NUMBER=`ci/build-number.sh` bundle exec fastlane --env ios,beta store_beta
bundle exec fastlane --env ios,beta beta_deploy
submit_for_app_review: submit_for_app_review:
runs-on: macos-10.15 runs-on: macos-10.15
needs: submit_to_testflight needs: submit_to_testflight
@ -118,10 +114,10 @@ jobs:
bundler-cache: true bundler-cache: true
- name: Update App Store Connect metadata (macOS) - name: Update App Store Connect metadata (macOS)
run: | run: |
ci/update-asc-metadata.sh mac bundle exec fastlane --env mac update_metadata
- name: Update App Store Connect metadata (iOS) - name: Update App Store Connect metadata (iOS)
run: | run: |
ci/update-asc-metadata.sh ios bundle exec fastlane --env ios update_metadata
- name: Submit for App Review (macOS) - name: Submit for App Review (macOS)
run: | run: |
bundle exec fastlane --env mac store_review bundle exec fastlane --env mac store_review

@ -1 +1 @@
Subproject commit 883b9fb9c230d872524ab29fbee0a3328776883f Subproject commit ee86dfd27b7e0ba09b2fb8152d50cf15e9ca3030

View File

@ -1,2 +0,0 @@
#!/bin/sh
git checkout *Info.plist Passepartout.xcodeproj