Skip to content

Commit

Permalink
workflow: should be able to publish to next dist-tag in local registry
Browse files Browse the repository at this point in the history
  • Loading branch information
haoqunjiang committed Nov 9, 2019
1 parent 8cb5a63 commit d1c66d4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/release.js
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ const release = async () => {
: semver.diff(curVersion, version)

let distTag = 'latest'
if (releaseType.startsWith('pre') && !cliOptions['local-registry']) {
if (releaseType.startsWith('pre')) {
distTag = 'next'
}

Expand Down

0 comments on commit d1c66d4

Please sign in to comment.