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