forked from matrix/element-web
Take version from first arg, if given
This commit is contained in:
parent
4fb273284d
commit
d04cc03c1c
|
@ -2,7 +2,11 @@
|
||||||
|
|
||||||
set -e
|
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
|
npm run build
|
||||||
mkdir -p dist
|
mkdir -p dist
|
||||||
|
|
Loading…
Reference in New Issue