package script
This commit is contained in:
parent
70398ebb95
commit
9464bdb499
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 New Issue
Block a user