Skip to content

gplay releases promote

Copy the latest release on --from to --to, keeping the same versionCode.

Targeting production defaults to a draft release (ADR-0002) unless --complete or --staged is supplied. Release notes carry over from the source unless --release-notes / --release-notes-dir is passed.

When the source track has multiple coexisting releases (e.g. inProgress + halted), pass --version-code N or --release-name <name> to pick one.

gplay releases promote [flags]
FlagDescription
--completeforce the release status to completed (1.0 user fraction)
--confirmexplicit confirmation required when promoting to production with --complete / --staged
--draftforce the release status to draft on the destination
--dry-runvalidate inputs and preview the release payload without any HTTP call
--from stringsource track to promote from
--keep-edit-on-failureskip the auto-discard cleanup on failure (debug)
--output stringoutput format: table, json, or markdown (default: auto — table on TTY, json in pipes/CI)
--package stringAndroid package name (overrides .gplay/config.json pin)
--release-name stringpick the source release with this name (disambiguator)
--release-notes stringoverride carry-over with this text (applied to the app's default language)
--release-notes-dir stringoverride carry-over with per-locale files (<locale>.txt, optional default.txt)
--staged floatstart a staged rollout at this fraction (0 < f ≤ 1.0)
--to stringdestination track to promote to
--version-code intpick the source release with this versionCode (disambiguator)
FlagDescription
--account stringname of a stored Account to use (overrides env and active Account)
--retry intretry transient failures (transport errors, 5xx, 429) up to N times with exponential backoff (default: 0, no retry)
--service-account stringpath to a service-account JSON, or inline JSON content (overrides --account, env, and active Account)
--timeout durationper-request API timeout, e.g. 30s or 2m (default: 60s for control-plane calls, none for uploads)
-v, --verboselog flow steps to stderr (info level)