From d1c66d43d8df5d0421ef98e3b08f3212fe61efc5 Mon Sep 17 00:00:00 2001 From: Haoqun Jiang Date: Sat, 9 Nov 2019 21:43:43 +0800 Subject: [PATCH] workflow: should be able to publish to `next` dist-tag in local registry --- scripts/release.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/release.js b/scripts/release.js index 35b5c16c75..33d1e73e08 100644 --- a/scripts/release.js +++ b/scripts/release.js @@ -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' }