diff --git a/scripts/tasks/publish.ts b/scripts/tasks/publish.ts index caa27c37e..8ef452e4d 100644 --- a/scripts/tasks/publish.ts +++ b/scripts/tasks/publish.ts @@ -144,6 +144,7 @@ async function publish(ignoreErrors = false) { } catch (e) { Logger.error('Error publishing!'); Logger.error(e); + process.exit(1); } Logger.profile('Publishing'); }