Skip to content

Commit

Permalink
Merge pull request #9571 from vector-im/dbkr/package_dont_fail_if_no_…
Browse files Browse the repository at this point in the history
…local_config

Don't fail if there's no local config to remove
  • Loading branch information
dbkr authored Apr 26, 2019
2 parents a67fd48 + c62da0e commit 03b1914
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/package.sh
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ mkdir -p dist
cp -r webapp riot-$version

# 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} =~ ^v[[:digit:]]+\.[[:digit:]]+\.[[:digit:]]+(-.+)?$ ]]; then
Expand Down

0 comments on commit 03b1914

Please sign in to comment.