githubEdit

Snapcraft

The Snapcraft target publishes your .snap artifacts to the Snap Storearrow-up-right. All configuration of your package is done via the Snapcraft maker.

Requirements

You can only publish to the Snap Store on Linux systems with the snapcraftarrow-up-right package installed.

Installation

npm install --save-dev @electron-forge/publisher-snapcraft

Usage

To use @electron-forge/publisher-snapcraft, add it to the publishers array in your Forge configuration:

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

Configuration options are documented in PublisherSnapConfigarrow-up-right.

Last updated

Was this helpful?