Dispatched by hand from a v* tag with a target (internal, external or
production) and a rollout. The first run for a tag uploads its bundle;
later runs move the same bundle to another track.
verify runs first, with no environment and no Google access, so a bad
tag or bundle is refused before anyone is asked to approve:
- the ref must be a v* tag, and its commit must be on main;
- the tag's release must carry app-release.aab;
- gh attestation verify must find it built by release-signed.yml at
this ref and commit, on a GitHub-hosted runner.
publish runs in play-release (owner review, v* tags only), re-downloads
the asset and refuses it unless its SHA-256 matches what verify
checked, gets a Play-scoped token keylessly with no credentials file,
runs play_release.py publish, then lists the tracks. One concurrency
group for the app, never cancelled.
Tests: test_workflows.py guards the trigger, the inputs against the
tool's targets and rollouts, the queue, which job can reach Google,
the tag-on-main check, every verify flag and the hash hand-off.
Removing --source-digest, the environment or the main check each fails
a test. 47 pass.
Gemini 2.5 Pro reviewed it. Two findings, both false: the Play notes
file is required by release-gate.sh, and the provenance step needs no
GitHub release (A3 made one on a branch push).
Agent: JadeEagle (session e9df9ed6)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>