mirror of
https://github.com/SchildiChat/element-web.git
synced 2024-10-01 01:26:12 -04:00
Merge branch 'dbkr/package_dont_fail_if_no_local_config' into dbkr/buildkite_cd
This commit is contained in:
commit
ff21bde839
@ -24,7 +24,7 @@ mkdir -p dist
|
|||||||
cp -r webapp riot-$version
|
cp -r webapp riot-$version
|
||||||
|
|
||||||
# Just in case you have a local config, remove it before packaging
|
# Just in case you have a local config, remove it before packaging
|
||||||
rm riot-$version/config.json
|
rm riot-$version/config.json || true
|
||||||
|
|
||||||
# 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
|
||||||
|
Loading…
Reference in New Issue
Block a user