Skip to content

Configuration ​

The command line and the GitHub Action read storepilot.yml; the Gradle plugin reads the storepilot { } block and can export it as storepilot.yml. Both have the same settings.

storepilot.yml ​

yaml
version: 1                       # required
metadataDir: store               # relative to this file
track: internal
rollout: 1.0
onUnsupported: fail              # or warn
fallbackToDefaultLanguage: false

listing:
  graphics: true                 # false: push text only
  replaceScreenshots: true       # false: only add new images

aso:
  disable: []                    # lint rule IDs, see "Listing checks"
  warningsAsErrors: false

stores:
  google-play:
    packageName: com.example.notes
    track: production            # overrides the top-level value
    rollout: 0.1
    releaseStatus: inProgress    # draft, inProgress, halted, completed
    inAppUpdatePriority: 3       # 0 to 5
    changesNotSentForReview: false

Only version is required. Unknown keys are errors, reported with their line and column, so a typo such as trak: does not go unnoticed.

Order of precedence ​

From highest to lowest:

  1. Command-line options and action inputs (--track, track:).
  2. STOREPILOT_* environment variables.
  3. storepilot.yml.
  4. The defaults.

Within the environment and within the file, a store-specific value wins over a top-level one. Environment variables that are set but empty count as not set, because the action passes inputs you leave out as empty strings.

Settings and environment variables ​

SettingIn storepilot.ymlEnvironment variableDefault
Store directorymetadataDirSTOREPILOT_METADATA_DIRstore
Tracktrack, stores.<id>.trackSTOREPILOT_TRACK, STOREPILOT_GOOGLE_PLAY_TRACKinternal
Rolloutrollout, stores.<id>.rolloutSTOREPILOT_ROLLOUT, STOREPILOT_GOOGLE_PLAY_ROLLOUT1.0
Release statusstores.<id>.releaseStatusSTOREPILOT_GOOGLE_PLAY_RELEASE_STATUSfrom the rollout
Package namestores.<id>.packageNameSTOREPILOT_GOOGLE_PLAY_PACKAGE_NAMEfrom the artifact when publishing
Unsupported partsonUnsupportedSTOREPILOT_ON_UNSUPPORTEDfail
Language fallbackfallbackToDefaultLanguagefalse
Graphics, screenshotslisting.*true, true
Lint rulesaso.*all on, warnings
Key contentSTOREPILOT_GOOGLE_PLAY_SERVICE_ACCOUNT_JSON
Key fileSTOREPILOT_GOOGLE_PLAY_SERVICE_ACCOUNT_FILE

Credentials never go in storepilot.yml; see Credentials and security.

Gradle DSL ​

DSLSame as
metadataDir, track, rollout, onUnsupported, fallbackToDefaultLanguagethe top-level keys
listing { graphics; replaceScreenshots }listing:
aso { disable(...); warningsAsErrors }aso:
googlePlay { track; rollout; releaseStatus; inAppUpdatePriority; changesNotSentForReview }stores.google-play:
packageName, artifactpackageName, and the artifact for projects without the Android plugin
artifactType, variants(...)Gradle only: what publish<Variant> uploads, and which variants get tasks

The Gradle plugin reads no STOREPILOT_* variables except the two key variables. Use providers.environmentVariable(...) in the DSL when a setting should come from the environment.

Released under the Apache License 2.0.