package script

This commit is contained in:
Bruno Windels 2020-12-08 15:43:53 +01:00
parent 70398ebb95
commit 9464bdb499
2 changed files with 8 additions and 0 deletions

1
.gitignore vendored
View File

@ -1,2 +1,3 @@
node_modules node_modules
build build
*.tar.gz

7
scripts/package.sh Executable file
View File

@ -0,0 +1,7 @@
VERSION=$(jq -r ".version" package.json)
PACKAGE=matrixto-$VERSION.tar.gz
yarn build
pushd build
tar -czvf ../$PACKAGE ./
popd
echo $PACKAGE