Skip to content

Commit

Permalink
workflow: handle targetVersion in release script with publishOnly flag
Browse files Browse the repository at this point in the history
  • Loading branch information
yyx990803 committed Aug 11, 2024
1 parent 8921c2d commit a1ee8b7
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions scripts/release.js
Original file line number Diff line number Diff line change
Expand Up @@ -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)
}
Expand Down

0 comments on commit a1ee8b7

Please sign in to comment.