From 02fe56990a5d2c416adea2fdda1e30bed0ed3aa9 Mon Sep 17 00:00:00 2001 From: Samuel Attard Date: Thu, 29 Dec 2016 14:10:14 +1300 Subject: [PATCH] fix(publisher): publish to the correct version --- src/electron-forge-publish.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/electron-forge-publish.js b/src/electron-forge-publish.js index 9d9ab0ad5f..0fc37b3834 100644 --- a/src/electron-forge-publish.js +++ b/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 }