Skip to content

Commit

Permalink
workflow: allow manually specifying dist-tag when releasing
Browse files Browse the repository at this point in the history
  • Loading branch information
sodatea committed Feb 27, 2020
1 parent 480ac7f commit 33487a8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/release.js
Expand Up @@ -95,7 +95,7 @@ const release = async () => {
}
}

let distTag = 'latest'
let distTag = cliOptions['dist-tag'] || 'latest'
if (bump === 'prerelease' || semver.prerelease(version)) {
distTag = 'next'
}
Expand Down

0 comments on commit 33487a8

Please sign in to comment.