Skip to content

Commit a1ee8b7

Browse files
committed
workflow: handle targetVersion in release script with publishOnly flag
1 parent 8921c2d commit a1ee8b7

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

scripts/release.js

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -563,6 +563,10 @@ async function publishPackage(pkgName, version, additionalFlags) {
563563
}
564564

565565
async function publishOnly() {
566+
const targetVersion = positionals[0]
567+
if (targetVersion) {
568+
updateVersions(targetVersion)
569+
}
566570
await buildPackages()
567571
await publishPackages(currentVersion)
568572
}

0 commit comments

Comments
 (0)