Skip to content

Commit

Permalink
fix(publisher): publish to the correct version
Browse files Browse the repository at this point in the history
  • Loading branch information
MarshallOfSound committed Dec 30, 2016
1 parent 4b32fe4 commit 02fe569
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/electron-forge-publish.js
Original file line number Diff line number Diff line change
Expand Up @@ -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
}
Expand Down

0 comments on commit 02fe569

Please sign in to comment.