env.esq/scripts/package.sh
2020-12-08 15:43:59 +01:00

7 lines
141 B
Bash
Executable file

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