package script
This commit is contained in:
parent
70398ebb95
commit
9464bdb499
2 changed files with 8 additions and 0 deletions
1
.gitignore
vendored
1
.gitignore
vendored
|
@ -1,2 +1,3 @@
|
|||
node_modules
|
||||
build
|
||||
*.tar.gz
|
||||
|
|
7
scripts/package.sh
Executable file
7
scripts/package.sh
Executable 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
|
Loading…
Reference in a new issue