From 942edf69c77064568c35e7dae8a8343223fd75db Mon Sep 17 00:00:00 2001 From: Bruno Windels Date: Tue, 18 Aug 2020 12:17:03 +0200 Subject: [PATCH] add package script --- scripts/package.sh | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100755 scripts/package.sh diff --git a/scripts/package.sh b/scripts/package.sh new file mode 100755 index 00000000..8146fe58 --- /dev/null +++ b/scripts/package.sh @@ -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