Electron Release Server

July 17, 2024 ยท View on GitHub

The Electron Release Server target publishes all your artifacts to a hosted instance of Electron Release Server.

Please note that Electron Release Server is a community powered project and is not associated with Electron Forge or the Electron project directly.

Installation

npm install --save-dev @electron-forge/publisher-electron-release-server

Usage

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

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

module.exports = {
  // ...
  publishers: [
    {
      name: '@electron-forge/publisher-electron-release-server',
      config: {
        baseUrl: 'https://update.server.com',
        username: 'admin',
        password: process.env.PASSWORD // string
      }
    }
  ]
};

{% endcode %}

Configuration options are documented in PublisherERSConfig.