gpd-release-flow
Scannednpx machina-cli add skill rudrankriyam/app-store-connect-cli-skills/gpd-release-flow --openclawRelease flow (Google Play)
Use this skill when you need to upload a build, publish to a track, or manage rollout.
Preconditions
- Ensure credentials are set (
GPD_SERVICE_ACCOUNT_KEY). - Use a new version code for each upload.
- Always pass
--packageexplicitly.
Preferred end-to-end commands
Upload and release to a track
gpd publish upload app.aab --package com.example.app
gpd publish release --package com.example.app --track internal --status completed
Promote between tracks
gpd publish promote --package com.example.app --from-track beta --to-track production
Manual sequence with edit lifecycle
Use when you need precise control or multiple changes in one commit.
# 1. Create edit
EDIT_ID=$(gpd publish edit create --package com.example.app | jq -r '.data.editId')
# 2. Upload build without auto-commit
gpd publish upload app.aab --package com.example.app --edit-id $EDIT_ID --no-auto-commit
# 3. Configure release
gpd publish release --package com.example.app --track internal --status draft --edit-id $EDIT_ID
# 4. Validate and commit
gpd publish edit validate $EDIT_ID --package com.example.app
gpd publish edit commit $EDIT_ID --package com.example.app
Staged rollout
gpd publish release --package com.example.app --track production --status inProgress --version-code 123
gpd publish rollout --package com.example.app --track production --percentage 5
gpd publish rollout --package com.example.app --track production --percentage 50
gpd publish rollout --package com.example.app --track production --percentage 100
Halt or rollback
gpd publish halt --package com.example.app --track production --confirm
gpd publish rollback --package com.example.app --track production --confirm
Track status
gpd publish status --package com.example.app --track production
gpd publish tracks --package com.example.app
Notes
- Use
--status draftfirst for risky releases. - Use
--confirmonly after reviewinggpd publish statusoutput.
Source
git clone https://github.com/rudrankriyam/app-store-connect-cli-skills/blob/main/skills/gpd-release-flow/SKILL.mdView on GitHub Overview
This skill automates end-to-end Google Play release workflows using gpd publish commands. It covers uploading builds, releasing to tracks, promoting between tracks, and managing the edit lifecycle for precise control.
How This Skill Works
The workflow uses gpd publish commands such as upload, release, promote, and edit. You must authenticate with a service key (GPD_SERVICE_ACCOUNT_KEY), provide a new versionCode, and always pass --package. For granular control, use the edit lifecycle: create an edit, upload with --edit-id and --no-auto-commit, configure a draft release, validate, and then commit.
When to Use It
- Uploading a new build to a track and publishing
- Promoting a release from one track to another (e.g., beta to production)
- Using the edit lifecycle for precise control across changes
- Performing a staged rollout with increasing percentages
- Halt or rollback a problematic production release
Quick Start
- Step 1: Ensure GPD_SERVICE_ACCOUNT_KEY is set, increment versionCode, and include the --package on commands.
- Step 2: Upload and publish to a track, e.g., gpd publish upload app.aab --package com.example.app; gpd publish release --package com.example.app --track internal --status completed
- Step 3: Check status with gpd publish status and adjust rollout or promotion as needed
Best Practices
- Use a new versionCode for every upload
- Always pass --package explicitly on commands
- Set and protect GPD_SERVICE_ACCOUNT_KEY for authentication
- Begin risky releases with --status draft
- Review release status with gpd publish status before using --confirm; only then commit or rollout
Example Use Cases
- Upload a new AAB to internal track and publish
- Promote a beta release to production
- Create an edit, upload a build without auto-commit, then validate and commit
- Execute a staged rollout: 5%, 50%, 100%
- Halt or rollback a production release when issues are detected