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
1 changed files with 1 additions and 0 deletions

View File

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