@electron-forge/publisher-s3
v7.5.0
Published
S3 publisher for Electron Forge
Downloads
13,216
Keywords
Readme
publisher-s3
@electron-forge/publisher-s3
publishes all your artifacts to an Amazon S3 bucket where users will be able to download them.
By default, all files are positioned at the following key:
${config.folder || appVersion}/${artifactName}
Configuration options are documented in PublisherS3Config.
module.exports = {
// ...
publishers: [
{
name: '@electron-forge/publisher-s3',
config: {
bucket: 'my-bucket',
public: true
}
}
]
};
If you run publish twice with the same version on the same platform, it is possible for your old artifacts to get overwritten in S3. It is your responsibility to ensure that you don't overwrite your own releases.
Authentication
It is recommended to follow the Amazon AWS guide and set either a shared credentials guide or the proper environment variables. However, if that is not possible, the publisher config allows the setting of the accessKeyId and secretAccessKey configuration options.