mirror of
https://github.com/vector-im/hydrogen-web.git
synced 2024-12-22 19:14:52 +01:00
12 lines
266 B
Bash
Executable File
12 lines
266 B
Bash
Executable File
#!/bin/bash
|
|
VERSION=$(jq -r ".version" package.json)
|
|
PACKAGE=hydrogen-web-$VERSION.tar.gz
|
|
yarn build
|
|
pushd target
|
|
# move config file so we don't override it
|
|
# when deploying a new version
|
|
mv config.json config.sample.json
|
|
tar -czvf ../$PACKAGE ./
|
|
popd
|
|
echo $PACKAGE
|