chore(release): publish Play uploads to production instead of internal testing
This commit is contained in:
@@ -551,12 +551,11 @@ jobs:
|
|||||||
env:
|
env:
|
||||||
VERSION: ${{ needs.detect.outputs.version }}
|
VERSION: ${{ needs.detect.outputs.version }}
|
||||||
VERSION_CODE: ${{ needs.detect.outputs.version_code }}
|
VERSION_CODE: ${{ needs.detect.outputs.version_code }}
|
||||||
# Where the bundle lands. `internal` by default so a release reaches
|
# Where the bundle lands. `production` — the release itself is already the
|
||||||
# testers rather than the public, and promotion to production stays a
|
# gate (a bumped versionName only reaches main after on-device review), so
|
||||||
# deliberate human action in the Play Console — the same posture as
|
# a second manual promotion in the Play Console bought nothing but delay.
|
||||||
# holding UI releases for on-device review. Override with the PLAY_TRACK
|
# Override with the PLAY_TRACK repo variable to stage a release instead.
|
||||||
# repo variable once the flow is trusted.
|
PLAY_TRACK: ${{ vars.PLAY_TRACK || 'production' }}
|
||||||
PLAY_TRACK: ${{ vars.PLAY_TRACK || 'internal' }}
|
|
||||||
PLAY_RELEASE_STATUS: ${{ vars.PLAY_RELEASE_STATUS || 'completed' }}
|
PLAY_RELEASE_STATUS: ${{ vars.PLAY_RELEASE_STATUS || 'completed' }}
|
||||||
# Set PLAY_DRY_RUN=true to validate the edit against the API and discard
|
# Set PLAY_DRY_RUN=true to validate the edit against the API and discard
|
||||||
# it instead of committing — used to rehearse the first upload.
|
# it instead of committing — used to rehearse the first upload.
|
||||||
|
|||||||
@@ -172,9 +172,12 @@ F-Droid but not Play:
|
|||||||
Until those are fixed, Play's graphics are managed by hand in the console. Then
|
Until those are fixed, Play's graphics are managed by hand in the console. Then
|
||||||
pass `images:true` to the `listing` lane.
|
pass `images:true` to the `listing` lane.
|
||||||
|
|
||||||
**Track.** Uploads go to `internal` by default; promotion to production stays a
|
**Track.** Uploads go straight to `production` at a full rollout
|
||||||
manual action in the Play Console, matching the rule that UI releases wait for
|
(`PLAY_RELEASE_STATUS=completed`). The merge to `main` is already the human
|
||||||
on-device review. Override with the `PLAY_TRACK` repo variable.
|
gate — a release only gets there after on-device review — so a second manual
|
||||||
|
promotion in the Play Console added delay without adding a decision. Set the
|
||||||
|
`PLAY_TRACK` repo variable (e.g. `internal`) to stage a release instead, or
|
||||||
|
`PLAY_RELEASE_STATUS=draft` to hold it unpublished.
|
||||||
|
|
||||||
### Manual re-sign / recovery
|
### Manual re-sign / recovery
|
||||||
|
|
||||||
@@ -233,7 +236,7 @@ Two consequences worth remembering:
|
|||||||
|
|
||||||
| Variable | Default | Purpose |
|
| Variable | Default | Purpose |
|
||||||
| --- | --- | --- |
|
| --- | --- | --- |
|
||||||
| `PLAY_TRACK` | `internal` | Play track the bundle is uploaded to. |
|
| `PLAY_TRACK` | `production` | Play track the bundle is uploaded to. Set to `internal`/`alpha`/`beta` to stage instead. |
|
||||||
| `PLAY_RELEASE_STATUS` | `completed` | `completed`, `draft`, `inProgress` or `halted`. |
|
| `PLAY_RELEASE_STATUS` | `completed` | `completed`, `draft`, `inProgress` or `halted`. |
|
||||||
| `PLAY_DRY_RUN` | `false` | `true` validates the Play edit against the API and discards it — use to rehearse. |
|
| `PLAY_DRY_RUN` | `false` | `true` validates the Play edit against the API and discards it — use to rehearse. |
|
||||||
|
|
||||||
|
|||||||
@@ -29,7 +29,7 @@ platform :android do
|
|||||||
|
|
||||||
supply(
|
supply(
|
||||||
aab: aab,
|
aab: aab,
|
||||||
track: options[:track] || "internal",
|
track: options[:track] || "production",
|
||||||
release_status: options[:release_status] || "completed",
|
release_status: options[:release_status] || "completed",
|
||||||
|
|
||||||
# The APK belongs to F-Droid and the Codeberg download; Play only ever
|
# The APK belongs to F-Droid and the Codeberg download; Play only ever
|
||||||
|
|||||||
Reference in New Issue
Block a user