From 533b13746d0e03ac8522b07db4133fd52937af2c Mon Sep 17 00:00:00 2001 From: Bruno Windels Date: Thu, 4 Feb 2021 17:15:36 +0100 Subject: [PATCH] exit package script if anything fails like running the wrong node version for the build --- scripts/package.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/scripts/package.sh b/scripts/package.sh index 6fd9eea..989d20c 100755 --- a/scripts/package.sh +++ b/scripts/package.sh @@ -1,3 +1,4 @@ +set -e VERSION=$(jq -r ".version" package.json) PACKAGE=matrixto-$VERSION.tar.gz yarn build