forked from matrix/element-web
15 lines
266 B
Bash
15 lines
266 B
Bash
|
#!/bin/sh
|
||
|
|
||
|
set -e
|
||
|
|
||
|
version=`git describe --dirty --tags || echo unknown`
|
||
|
|
||
|
npm run build
|
||
|
mkdir -p packages
|
||
|
ln -s vector vector-$version
|
||
|
tar chvzf packages/vector-$version.tar.gz vector-$version
|
||
|
rm vector-$version
|
||
|
|
||
|
echo
|
||
|
echo "Packaged packages/vector-$version.tar.gz"
|