vector-im-hydrogen-web/scripts/package.sh

8 lines
146 B
Bash
Raw Permalink Normal View History

2020-08-18 12:17:03 +02:00
VERSION=$(jq -r ".version" package.json)
PACKAGE=hydrogen-web-$VERSION.tar.gz
yarn build
pushd target
tar -czvf ../$PACKAGE ./
popd
echo $PACKAGE