mirror of https://github.com/vuejs/core.git
workflow: handle targetVersion in release script with publishOnly flag
This commit is contained in:
parent
8921c2df85
commit
a1ee8b719f
|
@ -563,6 +563,10 @@ async function publishPackage(pkgName, version, additionalFlags) {
|
|||
}
|
||||
|
||||
async function publishOnly() {
|
||||
const targetVersion = positionals[0]
|
||||
if (targetVersion) {
|
||||
updateVersions(targetVersion)
|
||||
}
|
||||
await buildPackages()
|
||||
await publishPackages(currentVersion)
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue