mirror of
https://github.com/element-hq/element-web
synced 2024-11-21 16:55:34 +03:00
Take version from first arg, if given
This commit is contained in:
parent
4fb273284d
commit
d04cc03c1c
1 changed files with 5 additions and 1 deletions
|
@ -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 a new issue