Merge pull request #3919 from vector-im/t3chguy/patch-1

fix #3894
pull/3942/head
Matthew Hodgson 2017-05-15 21:15:03 +01:00 committed by GitHub
commit c8ac60768d
1 changed files with 1 additions and 1 deletions

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