diff --git a/src/scripts/release.sh b/src/scripts/release.sh index e80e70295..0273d2a34 100755 --- a/src/scripts/release.sh +++ b/src/scripts/release.sh @@ -1,7 +1,7 @@ sed -i -e 's|\(.*"version"\): "\(.*\)",.*|\1: '"\"$1\",|" static/system.json && cp static/system.json dist && sed -i -e 's|\(.*"version"\): "\(.*\)",.*|\1: '"\"$1\",|" package.json && - if echo "$1" | grep -q "development"; then sed -i -e "s|(.*)/latest/(.*)|\1/$1/\2|" system.json; fi && + if echo "$1" | grep -q "development"; then sed -i -e "s|\(.*\)/latest/\(.*\)|\1/$1/\2|g" system.json; fi && npm install && npm audit fix && cd dist || exit &&