galaxy_store_update_staged_rollout_binary

The Galaxy Store fastlane plugin action galaxy_store_update_staged_rollout_binary adds or removes a binary from the staged rollout group for a given app.

Action

Use galaxy_store_staged_rollout to view available binaries and their binarySeq values, or chain directly after using galaxy_store_upload_apk and the binarySeq value will be picked up from lane context automatically.

# Chain directly after upload — binary_seq picked up from lane context
galaxy_store_upload_apk(
    content_id: "000007654321",
    apk_path: options[:apk_path],
    gms: "N"
)
galaxy_store_update_staged_rollout_binary(
    content_id: "000007654321",
    function: "ADD"
)

# Or specify binary_seq explicitly
galaxy_store_update_staged_rollout_binary(
    content_id: "000007654321",
    function: "REMOVE",
    binary_seq: "15"
)

Parameter

Description

Required

access_token

Galaxy Store Content Publish API access token

Yes*

service_account_id

Galaxy Store service account ID

Yes*

content_id

12-digit app content ID

Yes

function

ADD or REMOVE the binary from the staged rollout group

Yes

binary_seq

Sequence number of the binary. Falls back to SharedValues::GALAXY_STORE_BINARY_SEQ (set by galaxy_store_upload_apk) when omitted. Or, use galaxy_store_staged_rollout to look up an existing binarySeq.

No

*May also be set using environment variables or explicit parameters — see Authentication.

Results

galaxy_store_update_staged_rollout_binary returns a hash containing the response from the stagedRolloutBinary Content Publish API.