diff --git a/scripts/release.js b/scripts/release.js index 0f56307d..770179ae 100644 --- a/scripts/release.js +++ b/scripts/release.js @@ -183,7 +183,7 @@ async function publishPackage(pkgName, version, runIfNotDry) { // for now (alpha/beta phase), every package except "vue" can be published as // `latest`, whereas "vue" will be published under the "next" tag. - const releaseTag = pkgName === 'vue' ? 'next' : null + const releaseTag = args.tag || (pkgName === 'vue' ? 'next' : null) // TODO use inferred release channel after official 3.0 release // const releaseTag = semver.prerelease(version)[0] || null