matrix.to/scripts/package.sh

9 lines
148 B
Bash
Raw Normal View History

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