From bce846ede841d93b02abb0af664fd1277cf47561 Mon Sep 17 00:00:00 2001 From: neobooru <50623835+neobooru@users.noreply.github.com> Date: Mon, 28 Jun 2021 12:39:31 +0200 Subject: [PATCH] Call exit(1) when sign-xpi didn't succeed --- scripts/sign-xpi.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/scripts/sign-xpi.js b/scripts/sign-xpi.js index 2b5d4fd..1e9784b 100644 --- a/scripts/sign-xpi.js +++ b/scripts/sign-xpi.js @@ -40,6 +40,8 @@ async function main() { if (result.success) { console.log(result.downloadedFiles[0]); renameSync(result.downloadedFiles[0], xpiPath); + } else { + exit(1); } }