Skip to content

Commit

Permalink
fix publish script
Browse files Browse the repository at this point in the history
  • Loading branch information
mathieudutour committed Jan 4, 2018
1 parent 23412af commit be5366c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions script/publish
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ if (process.platform === 'darwin') {
}

let releaseId
const tag = 'v' + distInfo.getVersion()
const tag = 'v' + packageInfo.getVersion()

console.log('Uploading ' + tag + '…')

Expand All @@ -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
Expand Down

0 comments on commit be5366c

Please sign in to comment.