Skip to content

Commit

Permalink
fix tag naming
Browse files Browse the repository at this point in the history
  • Loading branch information
Armaldio committed Dec 11, 2019
1 parent 9627ad8 commit 7a87f4d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion index.js
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ const getRelease = async () => {
branch = 'unknown';
}

const tagName = `v${pkg.version}-${branch === 'master' ? '' : branch}`;
const tagName = `v${pkg.version}${branch === 'master' ? '' : `-${branch}`}`;
const release = releases.find((r) => r.tag_name === tagName);

if (release) {
Expand Down

0 comments on commit 7a87f4d

Please sign in to comment.