From e9ab8e33c8083ea1a50b6d33c89379e5a9ad36bd Mon Sep 17 00:00:00 2001 From: Adam Borbas Date: Tue, 14 Jul 2026 10:40:07 +0200 Subject: [PATCH] Rename Release workflow and make promo screenshots opt-in MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Renames the "Release" workflow to "Upload to TestFlight" (it does a TestFlight beta upload, not an App Store submission). Promo screenshots no longer run on every upload — gated behind a `promo_screenshots` boolean input, defaulting to off, since they add build time for no benefit on a routine beta. Co-Authored-By: Claude Opus 4.8 (1M context) --- .github/workflows/release.yml | 8 +++++++- RELEASING.md | 2 +- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index bdf54a4..f92bb5d 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -1,7 +1,12 @@ -name: Release +name: Upload to TestFlight on: workflow_dispatch: + inputs: + promo_screenshots: + description: 'Also generate promo screenshots' + type: boolean + default: false env: XCODE_VERSION: '26.2' @@ -46,6 +51,7 @@ jobs: promo-screenshots: name: Promo Screenshots runs-on: macos-15 + if: github.actor == 'adborbas' && inputs.promo_screenshots steps: - uses: actions/checkout@v4 diff --git a/RELEASING.md b/RELEASING.md index 265fa69..88c32fa 100644 --- a/RELEASING.md +++ b/RELEASING.md @@ -7,7 +7,7 @@ The release is automated with [fastlane](fastlane/Fastfile) and GitHub Actions. | Step | Lane | Workflow | |---|---|---| | Cut a release | `bundle exec fastlane cut_release version:1.3.0` | **Cut Release** | -| Upload to TestFlight | `bundle exec fastlane beta` | **Release** | +| Upload to TestFlight | `bundle exec fastlane beta` | **Upload to TestFlight** | | Publish | `bundle exec fastlane publish version:1.3.0` | **Publish Release** | The manual git/`gh` steps below are what each lane does under the hood, kept for reference and for one-off manual releases.