forked from mystiq/hydrogen-web
add package script
This commit is contained in:
parent
520dac7cec
commit
942edf69c7
1 changed files with 7 additions and 0 deletions
7
scripts/package.sh
Executable file
7
scripts/package.sh
Executable file
|
@ -0,0 +1,7 @@
|
|||
VERSION=$(jq -r ".version" package.json)
|
||||
PACKAGE=hydrogen-web-$VERSION.tar.gz
|
||||
yarn build
|
||||
pushd target
|
||||
tar -czvf ../$PACKAGE ./
|
||||
popd
|
||||
echo $PACKAGE
|
Loading…
Reference in a new issue