Skip to content

builder util runtime.Interface.SnapStoreOptions

Electron-Builder / builder-util-runtime / SnapStoreOptions

Snap Store options. To publish directly to Snapcraft, see Snapcraft authentication options for local or CI/CD authentication options.

Extends

Properties

channels?

readonly optional channels: null | string | string[]

The list of channels the snap would be released.

Default

["edge"]

provider

readonly provider: "snapStore"

The provider. Must be snapStore.

Overrides

PublishConfiguration.provider


publishAutoUpdate?

readonly optional publishAutoUpdate: boolean

Whether to publish auto update info files.

Auto update relies only on the first provider in the list (you can specify several publishers). Thus, probably, there`s no need to upload the metadata files for the other configured providers. But by default will be uploaded.

Default

true

Inherited from

PublishConfiguration.publishAutoUpdate


repo?

readonly optional repo: string

snapcraft repo name


requestHeaders?

readonly optional requestHeaders: OutgoingHttpHeaders

Any custom request headers

Inherited from

PublishConfiguration.requestHeaders


timeout?

readonly optional timeout: null | number

Request timeout in milliseconds. (Default is 2 minutes; O is ignored)

Default

120000

Inherited from

PublishConfiguration.timeout