exit package script if anything fails

like running the wrong node version for the build
This commit is contained in:
Bruno Windels 2021-02-04 17:15:36 +01:00
parent bbc4b44de5
commit 533b13746d

View File

@ -1,3 +1,4 @@
set -e
VERSION=$(jq -r ".version" package.json) VERSION=$(jq -r ".version" package.json)
PACKAGE=matrixto-$VERSION.tar.gz PACKAGE=matrixto-$VERSION.tar.gz
yarn build yarn build