mirror of
https://github.com/vector-im/element-web.git
synced 2024-11-15 20:54:59 +08:00
16 lines
309 B
Bash
Executable File
16 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"
|