Skip to content
Permalink
Browse files

fix(publisher): Fix secret access key

Fixes #143
  • Loading branch information
MarshallOfSound committed Feb 23, 2017
1 parent b5bd546 commit 0a9710b5fe4920e41b82db108c888ff5b0652c92
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/publishers/s3.js
@@ -16,7 +16,7 @@ AWS.util.update(AWS.S3.prototype, {
export default async (artifacts, packageJSON, forgeConfig, authToken, tag) => {
const s3Config = forgeConfig.s3;
s3Config.secretAccessKey = s3Config.secretAccessKey || authToken;
if (!(s3Config.accessKeyId && s3Config.secret && s3Config.bucket)) {
if (!(s3Config.accessKeyId && s3Config.secretAccessKey && s3Config.bucket)) {
throw 'In order to publish to s3 you must set the "s3.accessKeyId", "process.env.ELECTRON_FORGE_S3_SECRET_ACCESS_KEY" and "s3.bucket" properties in your forge config. See the docs for more info'; // eslint-disable-line
}

0 comments on commit 0a9710b

Please sign in to comment.
You can’t perform that action at this time.