Skip to content

Commit dc978a4

Browse files
committed
build(makefile): ensure correct exit code is returned
1 parent 9adfb72 commit dc978a4

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

Makefile.ts

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -373,4 +373,10 @@ export async function publishRelease() {
373373

374374
// >>> ENTRYPOINT
375375
// -----------------------------------------------------------------------------
376-
module.exports[config._[0]].apply(null);
376+
module.exports[config._[0]]
377+
.apply(null)
378+
.then(() => process.exit(0))
379+
.catch((e) => {
380+
logger.error(e);
381+
process.exit(1);
382+
});

0 commit comments

Comments
 (0)