galaxy_store_set_publication_type

The Galaxy Store fastlane plugin action galaxy_store_set_publication_type configures how and when an app update goes live after passing review. It must be called before galaxy_store_submit_app.

Action

Defaults to automatic publication ("01") if publication_type is not specified.

# Automatic (default)
galaxy_store_set_publication_type(
    content_id: "000007654321",
    publication_type: "01"
)

# Scheduled date
galaxy_store_set_publication_type(
    content_id: "000007654321",
    publication_type: "02",
    start_publication_date: "2026-06-01 09:00:00"
)

# Manual — publisher controls when the update goes live
galaxy_store_set_publication_type(
    content_id: "000007654321",
    publication_type: "03"
)

Parameter

Description

Required

Default

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

publication_type

Publication mode:
  • 01: Automatic, publish automatically once the Pre-Review phase completes
  • 02: Scheduled, publish on a specific date (requires start_publication_date)
  • 03: Manual, publish manually — the seller must trigger publication using galaxy_store_publish_app after all review phases complete

No

01

start_publication_date

Publication date using the format yyyy-MM-dd HH:mm:ss

Required when publication_type is set to "02"

No

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

Results

galaxy_store_set_publication_type returns a hash containing the response from the contentUpdate Content Publish API.