diff --git a/.gitignore b/.gitignore index dd87e2d..df36431 100644 --- a/.gitignore +++ b/.gitignore @@ -1,2 +1,3 @@ node_modules build +*.tar.gz diff --git a/scripts/package.sh b/scripts/package.sh new file mode 100755 index 0000000..6fd9eea --- /dev/null +++ b/scripts/package.sh @@ -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