From 20a6ba1dc37189eff031f8b854c22bddc3e09898 Mon Sep 17 00:00:00 2001 From: Davide De Rosa Date: Tue, 5 Oct 2021 10:55:40 +0200 Subject: [PATCH] Reorganize scripts into subfolders / = Local scripts ci = Remote scripts (run by workflow) util = Utilities --- .github/workflows/beta.yml | 8 ++++---- scripts/{bootstrap-after-beta.sh => after-beta.sh} | 0 scripts/{bootstrap-version.sh => after-release.sh} | 0 scripts/{ => ci}/recognize-match-hostname.sh | 0 scripts/{ => ci}/reset-archive.sh | 0 scripts/{ => util}/add-provider-description.sh | 0 scripts/{ => util}/downscale-ios-icon.sh | 0 scripts/{ => util}/export-for-translations.sh | 0 scripts/{ => util}/import-onesky-translations.sh | 0 scripts/{ => util}/list-untranslated.sh | 0 10 files changed, 4 insertions(+), 4 deletions(-) rename scripts/{bootstrap-after-beta.sh => after-beta.sh} (100%) rename scripts/{bootstrap-version.sh => after-release.sh} (100%) rename scripts/{ => ci}/recognize-match-hostname.sh (100%) rename scripts/{ => ci}/reset-archive.sh (100%) rename scripts/{ => util}/add-provider-description.sh (100%) rename scripts/{ => util}/downscale-ios-icon.sh (100%) rename scripts/{ => util}/export-for-translations.sh (100%) rename scripts/{ => util}/import-onesky-translations.sh (100%) rename scripts/{ => util}/list-untranslated.sh (100%) diff --git a/.github/workflows/beta.yml b/.github/workflows/beta.yml index 017df5d0..39c4c653 100644 --- a/.github/workflows/beta.yml +++ b/.github/workflows/beta.yml @@ -30,7 +30,7 @@ env: APPCENTER_API_TOKEN: ${{ secrets.APPCENTER_API_TOKEN }} jobs: - submit_appstore: + upload_to_testflight: runs-on: macos-10.15 timeout-minutes: 60 steps: @@ -57,16 +57,16 @@ jobs: ${{ runner.os }}-pods- - name: Prepare for fastlane match run: | - scripts/recognize-match-hostname.sh + scripts/ci/recognize-match-hostname.sh bundle exec fastlane preinstall_development_certs - name: Build (macOS) run: | bundle exec fastlane --env mac,beta create_archive - scripts/reset-archive.sh + scripts/ci/reset-archive.sh - name: Build (iOS) run: | bundle exec fastlane --env ios,beta create_archive - scripts/reset-archive.sh + scripts/ci/reset-archive.sh - name: Submit to TestFlight (macOS) run: | PILOT_CHANGELOG=`ci/build-changelog.sh mac` bundle exec fastlane --env mac,beta beta_deploy diff --git a/scripts/bootstrap-after-beta.sh b/scripts/after-beta.sh similarity index 100% rename from scripts/bootstrap-after-beta.sh rename to scripts/after-beta.sh diff --git a/scripts/bootstrap-version.sh b/scripts/after-release.sh similarity index 100% rename from scripts/bootstrap-version.sh rename to scripts/after-release.sh diff --git a/scripts/recognize-match-hostname.sh b/scripts/ci/recognize-match-hostname.sh similarity index 100% rename from scripts/recognize-match-hostname.sh rename to scripts/ci/recognize-match-hostname.sh diff --git a/scripts/reset-archive.sh b/scripts/ci/reset-archive.sh similarity index 100% rename from scripts/reset-archive.sh rename to scripts/ci/reset-archive.sh diff --git a/scripts/add-provider-description.sh b/scripts/util/add-provider-description.sh similarity index 100% rename from scripts/add-provider-description.sh rename to scripts/util/add-provider-description.sh diff --git a/scripts/downscale-ios-icon.sh b/scripts/util/downscale-ios-icon.sh similarity index 100% rename from scripts/downscale-ios-icon.sh rename to scripts/util/downscale-ios-icon.sh diff --git a/scripts/export-for-translations.sh b/scripts/util/export-for-translations.sh similarity index 100% rename from scripts/export-for-translations.sh rename to scripts/util/export-for-translations.sh diff --git a/scripts/import-onesky-translations.sh b/scripts/util/import-onesky-translations.sh similarity index 100% rename from scripts/import-onesky-translations.sh rename to scripts/util/import-onesky-translations.sh diff --git a/scripts/list-untranslated.sh b/scripts/util/list-untranslated.sh similarity index 100% rename from scripts/list-untranslated.sh rename to scripts/util/list-untranslated.sh