matrix.to/scripts/package.sh
Bruno Windels 533b13746d exit package script if anything fails
like running the wrong node version for the build
2021-02-04 17:15:36 +01:00

9 lines
148 B
Bash
Executable File

set -e
VERSION=$(jq -r ".version" package.json)
PACKAGE=matrixto-$VERSION.tar.gz
yarn build
pushd build
tar -czvf ../$PACKAGE ./
popd
echo $PACKAGE