Skip to content

Latest commit

 

History

History
35 lines (26 loc) · 1023 Bytes

snapcraft.md

File metadata and controls

35 lines (26 loc) · 1023 Bytes

Snapcraft

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

Requirements

You can only publish to the Snap Store on Linux systems with the snapcraft 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:

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

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

{% endcode %}

Configuration options are documented in PublisherSnapConfig.