Skip to content

Commit ccd4d40

Browse files
committed
workflow: allow specifying release tag in release script
1 parent 6e8482e commit ccd4d40

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

scripts/release.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -183,7 +183,7 @@ async function publishPackage(pkgName, version, runIfNotDry) {
183183

184184
// for now (alpha/beta phase), every package except "vue" can be published as
185185
// `latest`, whereas "vue" will be published under the "next" tag.
186-
const releaseTag = pkgName === 'vue' ? 'next' : null
186+
const releaseTag = args.tag || (pkgName === 'vue' ? 'next' : null)
187187

188188
// TODO use inferred release channel after official 3.0 release
189189
// const releaseTag = semver.prerelease(version)[0] || null

0 commit comments

Comments
 (0)