workflow: allow specifying release tag in release script
This commit is contained in:
parent
6e8482e8d9
commit
ccd4d406c1
@ -183,7 +183,7 @@ async function publishPackage(pkgName, version, runIfNotDry) {
|
|||||||
|
|
||||||
// for now (alpha/beta phase), every package except "vue" can be published as
|
// for now (alpha/beta phase), every package except "vue" can be published as
|
||||||
// `latest`, whereas "vue" will be published under the "next" tag.
|
// `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
|
// TODO use inferred release channel after official 3.0 release
|
||||||
// const releaseTag = semver.prerelease(version)[0] || null
|
// const releaseTag = semver.prerelease(version)[0] || null
|
||||||
|
Loading…
Reference in New Issue
Block a user