Auto-publish Release-* builds to the Play internal track

Co-Authored-By: Claude Code <noreply@anthropic.com>
This commit is contained in:
2026-10-01 18:48:21 -04:00
co-authored by Claude Code
parent 4611bc2142
commit d938df6aee
2 changed files with 6 additions and 6 deletions
+2 -2
View File
@@ -137,8 +137,8 @@ existing split instead.
`.gitea/workflows/release.yml` (on `Release-*` tags) first checks the tag `.gitea/workflows/release.yml` (on `Release-*` tags) first checks the tag
equals `Release-<pubspec version>`, builds the signed `.aab`, attaches it to a equals `Release-<pubspec version>`, builds the signed `.aab`, attaches it to a
Gitea release, then uploads it with `r0adkll/upload-google-play` to the Gitea release, then uploads it with `r0adkll/upload-google-play` to the
`internal` track as a **draft** (promote in Play Console, or edit `internal` track with `status: completed`, so it rolls out to internal
`track`/`status` in the workflow). Requires the `PLAY_SERVICE_ACCOUNT_JSON` testers automatically (promote to other tracks in Play Console). Requires the `PLAY_SERVICE_ACCOUNT_JSON`
repo secret (service account with release permissions; the app's first repo secret (service account with release permissions; the app's first
release must be uploaded manually). Play rejects a repeated `versionCode`, so release must be uploaded manually). Play rejects a repeated `versionCode`, so
bump the `+N` in `pubspec.yaml` for every tag - re-tagging the same version bump the `+N` in `pubspec.yaml` for every tag - re-tagging the same version
+4 -4
View File
@@ -89,9 +89,9 @@ jobs:
with: with:
files: ${{ env.AAB_PATH }} files: ${{ env.AAB_PATH }}
- name: Upload to Google Play (internal track, draft) - name: Upload to Google Play (internal track, auto-publish)
# Stages the build only; promote it in Play Console, or change # Rolls the build out to internal testers automatically
# `status` to "completed" (and/or `track`) to roll out automatically. # (`status: completed`); promote it to other tracks in Play Console.
# Needs the PLAY_SERVICE_ACCOUNT_JSON repo secret, and the app's # Needs the PLAY_SERVICE_ACCOUNT_JSON repo secret, and the app's
# first release must already have been uploaded by hand. # first release must already have been uploaded by hand.
uses: r0adkll/upload-google-play@v1 uses: r0adkll/upload-google-play@v1
@@ -101,5 +101,5 @@ jobs:
releaseFiles: ${{ env.AAB_PATH }} releaseFiles: ${{ env.AAB_PATH }}
releaseName: ${{ env.VERSION }} releaseName: ${{ env.VERSION }}
track: internal track: internal
status: draft status: completed
whatsNewDirectory: distribution/whatsnew whatsNewDirectory: distribution/whatsnew