mirror of https://github.com/vector-im/riot-web
Take version from first arg, if given
parent
4fb273284d
commit
d04cc03c1c
|
@ -2,7 +2,11 @@
|
|||
|
||||
set -e
|
||||
|
||||
version=`git describe --dirty --tags || echo unknown`
|
||||
if [ $# -eq 1 ]; then
|
||||
version=$1
|
||||
else
|
||||
version=`git describe --dirty --tags || echo unknown`
|
||||
fi
|
||||
|
||||
npm run build
|
||||
mkdir -p dist
|
||||
|
|
Loading…
Reference in New Issue