Take version from first arg, if given

This commit is contained in:
David Baker 2016-11-02 11:38:11 +00:00
parent 4fb273284d
commit d04cc03c1c

View file

@ -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