The personal finance app for everyone (by everyone)
Ruby
Wire TestFlight up to mobile releases
Juan José Matae9bba4355456
diff --git a/.github/workflows/ios-testflight.yml b/.github/workflows/ios-testflight.ymlindex 8bf946836b..9c2df20dd7 100644--- a/.github/workflows/ios-testflight.yml+++ b/.github/workflows/ios-testflight.yml@@ -7,6 +7,12 @@ on:description: "TestFlight release notes"required: falsetype: string+ workflow_call:+ inputs:+ notes:+ description: "TestFlight release notes"+ required: false+ type: stringpush:tags:- 'ios-v*'diff --git a/.github/workflows/mobile-release.yml b/.github/workflows/mobile-release.ymlindex c3f68e9a7d..2dd459fb91 100644--- a/.github/workflows/mobile-release.yml+++ b/.github/workflows/mobile-release.yml@@ -15,6 +15,14 @@ jobs:uses: ./.github/workflows/flutter-build.ymlsecrets: inherit+ testflight:+ name: Upload iOS to TestFlight+ needs: [build]+ uses: ./.github/workflows/ios-testflight.yml+ with:+ notes: "Mobile release ${{ github.ref_name }}"+ secrets: inherit+release:name: Create Mobile GitHub Releaseneeds: [build]diff --git a/mobile/README.md b/mobile/README.mdindex 8065766b64..b1d00ae231 100644--- a/mobile/README.md+++ b/mobile/README.md@@ -151,9 +151,9 @@ The app includes automated CI/CD via GitHub Actions (`.github/workflows/flutter-- **Android Build**: Generates release APK and AAB artifacts- **iOS Build**: Generates iOS release build (unsigned)- **Quality Checks**: Code analysis and tests run before building-- **TestFlight**: Use `.github/workflows/ios-testflight.yml` for signed distribution uploads to App Store Connect+- **TestFlight**: `mobile-release` (mobile tags) triggers `.github/workflows/ios-testflight.yml` for signed App Store Connect uploads as part of one release flow-See [mobile/docs/iOS_TESTFLIGHT](mobile/docs/iOS_TESTFLIGHT.md) for required secrets and setup.+See [mobile/docs/iOS_TESTFLIGHT.md](mobile/docs/iOS_TESTFLIGHT.md) for required secrets and setup.### Downloading Build Artifactsdiff --git a/mobile/docs/iOS_TESTFLIGHT.md b/mobile/docs/iOS_TESTFLIGHT.mdindex cf09c6de15..cbf348e8ba 100644--- a/mobile/docs/iOS_TESTFLIGHT.md+++ b/mobile/docs/iOS_TESTFLIGHT.md@@ -9,6 +9,12 @@ This repository now includes `.github/workflows/ios-testflight.yml`, which build- Bundle ID `am.sure.mobile` (or your custom value in the workflow)- Flutter assets and source already in `mobile/`+## Trigger paths++- Manual dispatch from the workflow UI.+- Tag push matching `ios-v*`.+- Called from `.github/workflows/mobile-release.yml` after the shared build job, so tagging `mobile-v*` now creates the GitHub release and uploads to TestFlight in one pipeline.+## Required GitHub SecretsSet these in **Settings → Secrets and variables → Actions**:@@ -26,7 +32,7 @@ Set these in **Settings → Secrets and variables → Actions**:- `IOS_PROVISIONING_PROFILE_NAME`- `IOS_PROVISIONING_PROFILE_BASE64`-> Do **not** commit private keys, `.p12` files, or `.p8` files to the repository.+> Do **not** commit private keys, `.p12`, `.mobileprovision` or `.p8` files to the repository.## Triggering