From be5366cb0b05ff2e79b21f77fec8cc2dffdf82a4 Mon Sep 17 00:00:00 2001 From: mathieudutour Date: Thu, 4 Jan 2018 22:59:26 +0100 Subject: [PATCH] fix publish script --- script/publish | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/script/publish b/script/publish index 51a5e63f2..3552a65d5 100644 --- a/script/publish +++ b/script/publish @@ -53,7 +53,7 @@ if (process.platform === 'darwin') { } let releaseId -const tag = 'v' + distInfo.getVersion() +const tag = 'v' + packageInfo.getVersion() console.log('Uploading ' + tag + '…') @@ -63,7 +63,7 @@ github repo, tag, distInfo.getReleaseBranchName(), - require('../changelog.json').releases[distInfo.getVersion()] || [] + require('../changelog.json').releases[packageInfo.getVersion()] || [] ) .then(function(res) { releaseId = res.id