跳到主要内容

Publish Android App with YAML

List of YAML parameters and examples for the "Publish Android App" action

YAML parameters for Publish Android App

名称类型描述
action
必填
String操作名称
type
必填
StringThe type of the action. Should be set to ANDROID_PUBLISH_APK.
application_id
必填
StringThe ID of the Android Application.
track
必填
StringThe track type to read or modify. Can be one of productionalphabetarolloutinternal or custom track as configured in Google Play Console.
apk_files
必填
APKs[]The list of sets of paths to the APKs.
integration_hash
必填
StringThe ID of the integration.
draftBooleanSet to true to publish as a draft.
user_fractionFloatPortion of the users who should get the staged rollout version of the APK (range 0.0 - 1.0). Required if track is set to rollout.
mapping_pathStringThe path to the deobfuscated file of the specified APK.
changes_pathStringThe path to the changelog file.
supersede_versionsBooleanCheck and disable superseded versions in other tracks (if any).

YAML example for Publish Android App

actions:
- action: "Publish Android application"
type: "ANDROID_PUBLISH_APK"
application_id: "com.mycompany.mylovelyapp"
track: "alpha"
user_fraction: 0.05
mapping_path: ""
changes_path: "changes.xml"
supersede_versions: true
draft: true
apk_files:
- apk_path: "my-app-release9.apk"
main_expansion_path: "ss"
patch_expansion_path: ""
integration_hash: "5ddb7c180fb38be67bd78a88a"