$gpc bundles
--json
Query uploaded app bundles via the Google Play API.
usage
gpc bundles <subcommand> [options]Local AAB/APK analysis
gpc bundles queries bundles on Google Play (API). For local AAB/APK analysis, see gpc bundle.
Commands
| Command | Description |
|---|---|
bundles list | List all processed bundles for the configured app |
bundles find | Find a specific bundle by version code |
bundles wait | Wait for a bundle to finish server-side processing |
bundles list
List all processed bundles for the configured app.
Synopsis
bash
gpc bundles list [options]1
Options
| Flag | Short | Type | Default | Description |
|---|---|---|---|---|
--output <format> | string | table | Output format: table, json, csv, tsv | |
--json | flag | Alias for --output json |
Example
bash
gpc bundles list --app com.example.myapp1
versionCode sha256
─────────── ───────────────
19 19b59ab90be7...
22 2f36cd95f030...
30 76e0499aad0a...1
2
3
4
5
2
3
4
5
bundles find
Find a specific bundle by version code.
Synopsis
bash
gpc bundles find [options]1
Options
| Flag | Short | Type | Default | Description |
|---|---|---|---|---|
--version-code <n> | number | (required) | Version code to find | |
--output <format> | string | table | Output format: table, json, csv, tsv | |
--json | flag | Alias for --output json |
Exits with code 1 if no bundle with the given version code is found.
Example
bash
gpc bundles find --version-code 30 --app com.example.myapp1
bundles wait
Wait for a bundle to finish server-side processing. Useful in CI pipelines immediately after upload, when the bundle may still be processing.
Synopsis
bash
gpc bundles wait [options]1
Options
| Flag | Short | Type | Default | Description |
|---|---|---|---|---|
--version-code <n> | number | (required) | Version code to wait for | |
--timeout <seconds> | number | 600 | Maximum time to wait before failing | |
--interval <seconds> | number | 15 | Poll interval in seconds | |
--output <format> | string | table | Output format: table, json, csv, tsv | |
--json | flag | Alias for --output json |
Throws BUNDLE_WAIT_TIMEOUT if the bundle does not appear within the configured timeout. Retries automatically on transient errors (429, 500, 503).
CI example
bash
gpc releases upload app.aab --track production
gpc bundles wait --version-code 42 --timeout 300 --json1
2
2
