Skip to content

Commit

Permalink
fix(publisher): Fix secret access key
Browse files Browse the repository at this point in the history
Fixes #143
  • Loading branch information
MarshallOfSound committed Feb 23, 2017
1 parent b5bd546 commit 0a9710b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/publishers/s3.js
Expand Up @@ -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
}

Expand Down

0 comments on commit 0a9710b

Please sign in to comment.