Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 3 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand All @@ -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' }}
3 changes: 2 additions & 1 deletion CLAUDE.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
Loading