Skip to main content
Version: old

Snapcraft

The Snapcraft target publishes your .snap artifacts to the Snap Store. All configuration of your package is done via the Snapcraft maker.

This target requires that the system has the snapcraft utility installed.

Configuration options are documented in PublisherSnapConfig

Usage

{% code title="forge.config.js" %}

module.exports = {
// ...
publishers: [
{
name: '@electron-forge/publisher-snapcraft',
config: {
release: '[latest/edge, insider/stable]'
}
}
]
};

{% endcode %}