From d938df6aeef2337b624fe7fb3298a4fafc86ad6b Mon Sep 17 00:00:00 2001 From: ayushya Date: Thu, 1 Oct 2026 18:48:21 -0400 Subject: [PATCH] Auto-publish Release-* builds to the Play internal track Co-Authored-By: Claude Code --- .claude/context/standards.md | 4 ++-- .gitea/workflows/release.yml | 8 ++++---- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/.claude/context/standards.md b/.claude/context/standards.md index 74261c1..6960931 100644 --- a/.claude/context/standards.md +++ b/.claude/context/standards.md @@ -137,8 +137,8 @@ existing split instead. `.gitea/workflows/release.yml` (on `Release-*` tags) first checks the tag equals `Release-`, builds the signed `.aab`, attaches it to a Gitea release, then uploads it with `r0adkll/upload-google-play` to the -`internal` track as a **draft** (promote in Play Console, or edit -`track`/`status` in the workflow). Requires the `PLAY_SERVICE_ACCOUNT_JSON` +`internal` track with `status: completed`, so it rolls out to internal +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 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 diff --git a/.gitea/workflows/release.yml b/.gitea/workflows/release.yml index 88711af..12646e4 100644 --- a/.gitea/workflows/release.yml +++ b/.gitea/workflows/release.yml @@ -89,9 +89,9 @@ jobs: with: files: ${{ env.AAB_PATH }} - - name: Upload to Google Play (internal track, draft) - # Stages the build only; promote it in Play Console, or change - # `status` to "completed" (and/or `track`) to roll out automatically. + - name: Upload to Google Play (internal track, auto-publish) + # Rolls the build out to internal testers automatically + # (`status: completed`); promote it to other tracks in Play Console. # Needs the PLAY_SERVICE_ACCOUNT_JSON repo secret, and the app's # first release must already have been uploaded by hand. uses: r0adkll/upload-google-play@v1 @@ -101,5 +101,5 @@ jobs: releaseFiles: ${{ env.AAB_PATH }} releaseName: ${{ env.VERSION }} track: internal - status: draft + status: completed whatsNewDirectory: distribution/whatsnew