From 40d8e5abd435921ce02d805f7d064004e511ba78 Mon Sep 17 00:00:00 2001 From: KalimbaPro Date: Sun, 15 Nov 2026 18:19:20 +0100 Subject: [PATCH] chore(scanRift): choose the Play track with the PLAY_TRACK variable Set to alpha so main builds go to the closed test. Co-Authored-By: Claude Opus 5.5 --- .github/workflows/release.yml | 5 +++-- CLAUDE.md | 3 ++- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 26c96b9..d47dc1c 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -86,7 +86,8 @@ jobs: gh release upload "$tag" "$dir"/* --clobber echo "Published ${VERSION_NAME} (${VERSION_CODE}) on $tag" >> "$GITHUB_STEP_SUMMARY" - # Sends every main build to Play's internal testing track. Skipped until the + # Sends every main build to a Play testing track (repository variable PLAY_TRACK: + # internal, alpha = closed testing, beta = open testing; default internal). Skipped until the # PLAY_SERVICE_ACCOUNT_JSON secret exists. Play accepts only *draft* releases until # the app has passed its first review: set the repository variable # PLAY_RELEASE_STATUS to `completed` after that, so builds reach testers directly. @@ -98,5 +99,5 @@ jobs: packageName: com.scanrift.android releaseFiles: app/build/outputs/bundle/release/app-release.aab releaseName: ${{ env.VERSION_NAME }} (${{ env.VERSION_CODE }}) - track: internal + track: ${{ vars.PLAY_TRACK || 'internal' }} status: ${{ vars.PLAY_RELEASE_STATUS || 'draft' }} diff --git a/CLAUDE.md b/CLAUDE.md index 172fbd0..ed0ccb6 100644 --- a/CLAUDE.md +++ b/CLAUDE.md @@ -79,7 +79,8 @@ Compose version moves unexpectedly, check Coil first. previous build's files. CI sets `VERSION_CODE` to 100 + the workflow's run number, so each build is uploadable to Play without a manual bump; bump `versionName` by hand when a release should get a new name (and a new GitHub release). -- **…and goes to Play's internal track** once the `PLAY_SERVICE_ACCOUNT_JSON` secret is +- **…and goes to the Play track named by the repository variable `PLAY_TRACK`** (`internal` + by default, `alpha` = closed testing) once the `PLAY_SERVICE_ACCOUNT_JSON` secret is set (the step is skipped without it). Releases are created as `draft` until the repository variable `PLAY_RELEASE_STATUS` is set to `completed`, which Play only allows after the app's first review.