Skip to content

Commit d1c66d4

Browse files
committed
workflow: should be able to publish to next dist-tag in local registry
1 parent 8cb5a63 commit d1c66d4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

scripts/release.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@ const release = async () => {
100100
: semver.diff(curVersion, version)
101101

102102
let distTag = 'latest'
103-
if (releaseType.startsWith('pre') && !cliOptions['local-registry']) {
103+
if (releaseType.startsWith('pre')) {
104104
distTag = 'next'
105105
}
106106

0 commit comments

Comments
 (0)