This repository has been archived on 2022-08-19. You can view files and clone it, but cannot push or open issues or pull requests.
2020-08-18 15:47:03 +05:30
|
|
|
VERSION=$(jq -r ".version" package.json)
|
|
|
|
PACKAGE=hydrogen-web-$VERSION.tar.gz
|
|
|
|
yarn build
|
|
|
|
pushd target
|
2022-05-19 00:22:18 +05:30
|
|
|
# move config file so we don't override it
|
|
|
|
# when deploying a new version
|
|
|
|
mv config.json config.sample.json
|
2020-08-18 15:47:03 +05:30
|
|
|
tar -czvf ../$PACKAGE ./
|
|
|
|
popd
|
|
|
|
echo $PACKAGE
|