This commit is contained in:
Michael Telatynski 2017-05-15 21:14:01 +01:00 committed by GitHub
parent fe61a7eefd
commit cef26a5b20
1 changed files with 1 additions and 1 deletions
scripts

View File

@ -21,7 +21,7 @@ npm run build$dev
cp config.sample.json webapp/ cp config.sample.json webapp/
mkdir -p dist mkdir -p dist
cp -r webapp vector-$version cp -r webapp riot-$version
# if $version looks like semver with leading v, strip it before writing to file # if $version looks like semver with leading v, strip it before writing to file
if [[ ${version} =~ ^v[[:digit:]]+\.[[:digit:]]+\.[[:digit:]]+(-.+)?$ ]]; then if [[ ${version} =~ ^v[[:digit:]]+\.[[:digit:]]+\.[[:digit:]]+(-.+)?$ ]]; then