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