Skip to content

Commit ff35fe9

Browse files
authored
build: exit with code 1 on release failure (#7962)
See https://github.com/vuejs/core/actions/runs/4527710331/jobs/7973811532#step:6:279 The canary release action should fail if the release script fails.
1 parent 543d6db commit ff35fe9

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

scripts/release.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -377,4 +377,5 @@ async function publishPackage(pkgName, version) {
377377
main().catch(err => {
378378
updateVersions(currentVersion)
379379
console.error(err)
380+
process.exit(1)
380381
})

0 commit comments

Comments
 (0)