From 8002d98f50d9aca747cf7c26b681422986ab3bd8 Mon Sep 17 00:00:00 2001 From: "J. Ryan Stinnett" Date: Wed, 24 Apr 2019 11:27:07 +0100 Subject: [PATCH] Remove config.json from package dir --- scripts/package.sh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/scripts/package.sh b/scripts/package.sh index fbca9a73..f2d86ff7 100755 --- a/scripts/package.sh +++ b/scripts/package.sh @@ -23,6 +23,9 @@ cp config.sample.json webapp/ 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 + # if $version looks like semver with leading v, strip it before writing to file if [[ ${version} =~ ^v[[:digit:]]+\.[[:digit:]]+\.[[:digit:]]+(-.+)?$ ]]; then echo ${version:1} > riot-$version/version