Skip to content
Permalink
Browse files

fix(publisher): publish to the correct version

  • Loading branch information
MarshallOfSound committed Dec 29, 2016
1 parent 4b32fe4 commit 02fe56990a5d2c416adea2fdda1e30bed0ed3aa9
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/electron-forge-publish.js
@@ -62,7 +62,7 @@ const main = async () => {
owner: forgeConfig.github_repository.owner,
repo: forgeConfig.github_repository.name,
per_page: 100,
})).find(testRelease => testRelease.tag_name === program.tag || `v${packageJSON.version}`);
})).find(testRelease => testRelease.tag_name === (program.tag || `v${packageJSON.version}`));
if (!release) {
throw { code: 404 }; // eslint-disable-line
}

0 comments on commit 02fe569

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