env.esq/scripts/package.sh

8 lines
141 B
Bash
Raw Permalink Normal View History

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