Skip to content

Commit 8002d98

Browse files
committed
Remove config.json from package dir
1 parent 597b3e1 commit 8002d98

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

scripts/package.sh

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,9 @@ cp config.sample.json webapp/
2323
mkdir -p dist
2424
cp -r webapp riot-$version
2525

26+
# Just in case you have a local config, remove it before packaging
27+
rm riot-$version/config.json
28+
2629
# if $version looks like semver with leading v, strip it before writing to file
2730
if [[ ${version} =~ ^v[[:digit:]]+\.[[:digit:]]+\.[[:digit:]]+(-.+)?$ ]]; then
2831
echo ${version:1} > riot-$version/version

0 commit comments

Comments
 (0)