Skip to content

upload_to_play_store

Community Action Reference: Inspected directly from Fastlane core ruby gem definitions.

Supported Platforms: android

Upload metadata, screenshots and binaries to Google Play (via supply)

Details

More information: https://docs.fastlane.tools/actions/supply/

Parameters & Options

Total options available: 41

Key Type Env Variable Default Required Description
package_name String SUPPLY_PACKAGE_NAME - Yes The package name of the application to use
version_name String SUPPLY_VERSION_NAME - No Version name (used when uploading new apks/aabs) - defaults to ‘versionName’ in build.gradle or AndroidManifest.xml
version_code Integer SUPPLY_VERSION_CODE - No The versionCode for which to download the generated APK
release_status String SUPPLY_RELEASE_STATUS completed No Release status (used when uploading new apks/aabs) - valid values are completed, draft, halted, inProgress
track String SUPPLY_TRACK production Yes The track of the application to use. The default available tracks are: production, beta, alpha, internal
rollout String - - No The percentage of the user fraction when uploading to the rollout track (setting to 1 will complete the rollout)
metadata_path String SUPPLY_METADATA_PATH - No Path to the directory containing the metadata files
key String SUPPLY_KEY - No DEPRECATED! Use --json_key instead - The p12 File used to authenticate with Google
issuer String SUPPLY_ISSUER - No DEPRECATED! Use --json_key instead - The issuer of the p12 file (email address of the service account)
json_key String SUPPLY_JSON_KEY - No The path to a Google credentials JSON file (Application Default, Workload Identity, or Service Account), used to authenticate with Google
json_key_data String SUPPLY_JSON_KEY_DATA - No The raw content of a Google credentials JSON file (Application Default, Workload Identity, or Service Account), used to authenticate with Google
apk String SUPPLY_APK - No Path to the APK file to upload
apk_paths Array SUPPLY_APK_PATHS - No An array of paths to APK files to upload
aab String SUPPLY_AAB - No Path to the AAB file to upload
aab_paths Array SUPPLY_AAB_PATHS - No An array of paths to AAB files to upload
skip_upload_apk Fastlane::Boolean SUPPLY_SKIP_UPLOAD_APK false No Whether to skip uploading APK
skip_upload_aab Fastlane::Boolean SUPPLY_SKIP_UPLOAD_AAB false No Whether to skip uploading AAB
skip_upload_metadata Fastlane::Boolean SUPPLY_SKIP_UPLOAD_METADATA false No Whether to skip uploading metadata, changelogs not included
skip_upload_changelogs Fastlane::Boolean SUPPLY_SKIP_UPLOAD_CHANGELOGS false No Whether to skip uploading changelogs
skip_upload_images Fastlane::Boolean SUPPLY_SKIP_UPLOAD_IMAGES false No Whether to skip uploading images, screenshots not included
skip_upload_screenshots Fastlane::Boolean SUPPLY_SKIP_UPLOAD_SCREENSHOTS false No Whether to skip uploading SCREENSHOTS
sync_image_upload Fastlane::Boolean SUPPLY_SYNC_IMAGE_UPLOAD false Yes Whether to use sha256 comparison to skip upload of images and screenshots that are already in Play Store
track_promote_to String SUPPLY_TRACK_PROMOTE_TO - No The track to promote to. The default available tracks are: production, beta, alpha, internal
track_promote_release_status String SUPPLY_TRACK_PROMOTE_RELEASE_STATUS completed No Promoted track release status (used when promoting a track) - valid values are completed, draft, halted, inProgress
track_promote_force Fastlane::Boolean SUPPLY_TRACK_PROMOTE_FORCE false No Force the promotion of a version code that is no longer returned for the source track (:version_code and :version_name are required)
validate_only Fastlane::Boolean SUPPLY_VALIDATE_ONLY false No Only validate changes with Google Play rather than actually publish
mapping String SUPPLY_MAPPING - No Path to the mapping file to upload (mapping.txt or native-debug-symbols.zip alike)
mapping_paths Array SUPPLY_MAPPING_PATHS - No An array of paths to mapping files to upload (mapping.txt or native-debug-symbols.zip alike)
root_url String SUPPLY_ROOT_URL - No Root URL for the Google Play API. The provided URL will be used for API calls in place of https://www.googleapis.com/
check_superseded_tracks Fastlane::Boolean SUPPLY_CHECK_SUPERSEDED_TRACKS false No DEPRECATED! Google Play does this automatically now - Check the other tracks for superseded versions and disable them
timeout Integer SUPPLY_TIMEOUT 300 No Timeout for read, open, and send (in seconds)
deactivate_on_promote Fastlane::Boolean SUPPLY_DEACTIVATE_ON_PROMOTE true No DEPRECATED! Google Play does this automatically now - When promoting to a new track, deactivate the binary in the origin track
version_codes_to_retain Array - - No An array of version codes to retain when publishing a new APK
changes_not_sent_for_review Fastlane::Boolean SUPPLY_CHANGES_NOT_SENT_FOR_REVIEW false Yes Indicates that the changes in this edit will not be reviewed until they are explicitly sent for review from the Google Play Console UI
rescue_changes_not_sent_for_review Fastlane::Boolean SUPPLY_RESCUE_CHANGES_NOT_SENT_FOR_REVIEW true Yes Catches changes_not_sent_for_review errors when an edit is committed and retries with the configuration that the error message recommended
in_app_update_priority Integer SUPPLY_IN_APP_UPDATE_PRIORITY - No In-app update priority for all the newly added apks in the release. Can take values between [0,5]
obb_main_references_version Numeric SUPPLY_OBB_MAIN_REFERENCES_VERSION - No References version of ‘main’ expansion file
obb_main_file_size Numeric SUPPLY_OBB_MAIN_FILE SIZE - No Size of ‘main’ expansion file in bytes
obb_patch_references_version Numeric SUPPLY_OBB_PATCH_REFERENCES_VERSION - No References version of ‘patch’ expansion file
obb_patch_file_size Numeric SUPPLY_OBB_PATCH_FILE SIZE - No Size of ‘patch’ expansion file in bytes
ack_bundle_installation_warning Fastlane::Boolean ACK_BUNDLE_INSTALLATION_WARNING false No Must be set to true if the bundle installation may trigger a warning on user devices (e.g can only be downloaded over wifi). Typically this is required for bundles over 150MB

Examples

upload_to_play_store
supply # alias for "upload_to_play_store"

Source & Upstream