8 lines
141 B
Bash
8 lines
141 B
Bash
|
VERSION=$(jq -r ".version" package.json)
|
||
|
PACKAGE=matrixto-$VERSION.tar.gz
|
||
|
yarn build
|
||
|
pushd build
|
||
|
tar -czvf ../$PACKAGE ./
|
||
|
popd
|
||
|
echo $PACKAGE
|