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

8 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