diff --git a/src/scripts/release.sh b/src/scripts/release.sh index 84c4547f4..4a93864d8 100755 --- a/src/scripts/release.sh +++ b/src/scripts/release.sh @@ -1,5 +1,5 @@ sed -i -e 's|\(.*"version"\): "\(.*\)",.*|\1: '"\"$1\",|" static/system.json && - if echo "$1" | grep -q "development"; then sed -i -e "s|\(.*\)/latest/\(.*\)|\1/$1/\2|g" static/system.json; fi && + if echo "$1" | grep -q "development"; then sed -i -e "s|\(.*\)/latest/\(.*\)|\1/download/v$1/\2|g" static/system.json; fi && cp static/system.json dist && sed -i -e 's|\(.*"version"\): "\(.*\)",.*|\1: '"\"$1\",|" package.json && npm install &&