Skip to content

Commit c62da0e

Browse files
committed
Don't fail if there's no local config to remove
The script has a set -e so don't fail if there's nothing to rm
1 parent a67fd48 commit c62da0e

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎scripts/package.sh‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ mkdir -p dist
2424
cp -r webapp riot-$version
2525

2626
# Just in case you have a local config, remove it before packaging
27-
rm riot-$version/config.json
27+
rm riot-$version/config.json || true
2828

2929
# if $version looks like semver with leading v, strip it before writing to file
3030
if [[ ${version} =~ ^v[[:digit:]]+\.[[:digit:]]+\.[[:digit:]]+(-.+)?$ ]]; then

0 commit comments

Comments
 (0)