build: handle release failure by existing with code 1 (#30216)
This commit is contained in:
parent
ea69da279f
commit
9fe70c5580
1 changed files with 5 additions and 1 deletions
|
@ -457,4 +457,8 @@ async function verifyShasumsForRemoteFiles (remoteFilesToHash, filesAreNodeJSArt
|
|||
}
|
||||
}
|
||||
|
||||
makeRelease(args.validateRelease);
|
||||
makeRelease(args.validateRelease)
|
||||
.catch((err) => {
|
||||
console.error('Error occurred while making release:', err);
|
||||
process.exit(1);
|
||||
});
|
||||
|
|
Loading…
Add table
Reference in a new issue