mirror of https://github.com/vector-im/riot-web
Auto-create a sensible version file. Copy the vector dir so we can put it in there rather than creating files in the main vector dir.
parent
874123bbfa
commit
fa322e8488
|
@ -6,9 +6,10 @@ version=`git describe --dirty --tags || echo unknown`
|
|||
|
||||
npm run build
|
||||
mkdir -p packages
|
||||
ln -s vector vector-$version
|
||||
cp -r vector vector-$version
|
||||
echo $version > vector-$version/version
|
||||
tar chvzf packages/vector-$version.tar.gz vector-$version
|
||||
rm vector-$version
|
||||
rm -r vector-$version
|
||||
|
||||
echo
|
||||
echo "Packaged packages/vector-$version.tar.gz"
|
||||
|
|
Loading…
Reference in New Issue