mirror of
https://github.com/element-hq/element-web
synced 2024-11-27 03:36:07 +03:00
15 lines
309 B
Bash
Executable file
15 lines
309 B
Bash
Executable file
#!/bin/sh
|
|
|
|
set -e
|
|
|
|
version=`git describe --dirty --tags || echo unknown`
|
|
|
|
npm run build
|
|
mkdir -p packages
|
|
cp -r vector vector-$version
|
|
echo $version > vector-$version/version
|
|
tar chvzf packages/vector-$version.tar.gz vector-$version
|
|
rm -r vector-$version
|
|
|
|
echo
|
|
echo "Packaged packages/vector-$version.tar.gz"
|