Loading...
Loading...
Staged rollout orchestration and monitoring for Google Play releases. Use when implementing gradual release strategies.
npx skill4agent add tamtom/gplay-cli-skills gplay-rollout-managementgplay release \
--package com.example.app \
--track production \
--bundle app-release.aab \
--rollout 10gplay promote \
--package com.example.app \
--from beta \
--to production \
--rollout 25# Increase to 25%
gplay rollout update \
--package com.example.app \
--track production \
--rollout 25
# Increase to 50%
gplay rollout update \
--package com.example.app \
--track production \
--rollout 50
# Increase to 100% (or use complete)
gplay rollout update \
--package com.example.app \
--track production \
--rollout 100gplay rollout halt \
--package com.example.app \
--track productiongplay rollout resume \
--package com.example.app \
--track productiongplay rollout complete \
--package com.example.app \
--track productiongplay tracks get \
--package com.example.app \
--track production \
| jq '.releases[0].userFraction'# Day 1: 10%
gplay release --package com.example.app --track production --bundle app.aab --rollout 10
# Day 2: 25% (monitor crash rate)
gplay rollout update --package com.example.app --track production --rollout 25
# Day 3: 50%
gplay rollout update --package com.example.app --track production --rollout 50
# Day 5: 75%
gplay rollout update --package com.example.app --track production --rollout 75
# Day 7: 100%
gplay rollout complete --package com.example.app --track production# Day 1: 25%
gplay release --package com.example.app --track production --bundle app.aab --rollout 25
# Day 2: 50%
gplay rollout update --package com.example.app --track production --rollout 50
# Day 3: 100%
gplay rollout complete --package com.example.app --track production# Day 1: 5%
gplay release --package com.example.app --track production --bundle app.aab --rollout 5
# Day 2: 10% (monitor carefully)
gplay rollout update --package com.example.app --track production --rollout 10
# Day 3: 25%
gplay rollout update --package com.example.app --track production --rollout 25
# Day 5: 50%
gplay rollout update --package com.example.app --track production --rollout 50
# Day 7: 75%
gplay rollout update --package com.example.app --track production --rollout 75
# Day 10: 100%
gplay rollout complete --package com.example.app --track production# Get recent reviews
gplay reviews list \
--package com.example.app \
--paginate \
| jq '.reviews[] | select(.createdTime > "2025-02-05") | {rating, text: .comments[0].userComment.text}'gplay reviews list \
--package com.example.app \
| jq '.reviews[] | select(.rating == 1) | .comments[0].userComment.text'| Metric | Action |
|---|---|
| Crash rate < 1% | Continue rollout |
| Crash rate 1-2% | Halt, investigate |
| Crash rate > 2% | Halt, rollback if possible |
| 1-star reviews spike | Halt, investigate |
| ANR rate spike | Halt, investigate |
| No issues after 24h | Increase rollout |
# Build hotfix with higher version code
./gradlew bundleRelease
# Release hotfix immediately to 100%
gplay release \
--package com.example.app \
--track production \
--bundle app-hotfix.aabgplay promote \
--package com.example.app \
--from beta \
--to production# .github/workflows/rollout.yml
name: Automated Rollout
on:
schedule:
- cron: '0 9 * * *' # Daily at 9 AM
jobs:
increase-rollout:
runs-on: ubuntu-latest
steps:
- name: Get current rollout
id: current
run: |
CURRENT=$(gplay tracks get --package $PACKAGE | jq -r '.releases[0].userFraction')
echo "fraction=$CURRENT" >> $GITHUB_OUTPUT
- name: Increase rollout
if: steps.current.outputs.fraction < 1.0
run: |
NEW_FRACTION=$(echo "${{ steps.current.outputs.fraction }} + 0.25" | bc)
gplay rollout update --package $PACKAGE --track production --rollout $NEW_FRACTION