env.esq/scripts/package.sh

9 lines
148 B
Bash
Raw Normal View History

set -e
2020-12-08 15:43:53 +01:00
VERSION=$(jq -r ".version" package.json)
PACKAGE=matrixto-$VERSION.tar.gz
yarn build
pushd build
tar -czvf ../$PACKAGE ./
popd
echo $PACKAGE