get_latest_build_number
Retrieve the highest versionCode from Google Play tracks to calculate the next build number for Android releases.
Instructions
Get the highest versionCode currently on Google Play across all tracks (or specific tracks). Use this before triggering a release build to determine the next BUILD_NUMBER — increment the result by 1.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| package_name | Yes | The Android package name e.g. com.example.myapp | |
| tracks | No | Comma-separated track names to check e.g. 'production,beta'. Defaults to all tracks. |