matrix.to/scripts/package.sh

8 lines
141 B
Bash
Raw Permalink Normal View History

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