workflow: remove next tag in release script

This commit is contained in:
Evan You 2022-02-07 13:26:12 +08:00
parent 334112c2d6
commit 7c6386c01c

View File

@ -188,8 +188,6 @@ async function publishPackage(pkgName, version, runIfNotDry) {
return return
} }
// For now, all 3.x packages except "vue" can be published as
// `latest`, whereas "vue" will be published under the "next" tag.
let releaseTag = null let releaseTag = null
if (args.tag) { if (args.tag) {
releaseTag = args.tag releaseTag = args.tag
@ -199,9 +197,6 @@ async function publishPackage(pkgName, version, runIfNotDry) {
releaseTag = 'beta' releaseTag = 'beta'
} else if (version.includes('rc')) { } else if (version.includes('rc')) {
releaseTag = 'rc' releaseTag = 'rc'
} else if (pkgName === 'vue') {
// TODO remove when 3.x becomes default
releaseTag = 'next'
} }
// TODO use inferred release channel after official 3.0 release // TODO use inferred release channel after official 3.0 release