Merge pull request #8519 from tigercl/chore/relup

chore(relup): download relup base version packages from s3
This commit is contained in:
zhouzb 2022-07-26 08:19:05 +08:00 committed by GitHub
commit 0c3aa5b30f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -14,7 +14,7 @@ export PROFILE
case $PROFILE in
"emqx-enterprise")
DIR='enterprise'
DIR='emqx-ee'
EDITION='enterprise'
;;
"emqx")
@ -51,7 +51,7 @@ mkdir -p _upgrade_base
pushd _upgrade_base >/dev/null
for tag in ${BASE_VERSIONS}; do
filename="$PROFILE-$(fullvsn "${tag#[e|v]}").tar.gz"
url="https://www.emqx.com/downloads/$DIR/$tag/$filename"
url="https://packages.emqx.io/$DIR/$tag/$filename"
echo "downloading ${filename} ..."
## if the file does not exist (not downloaded yet)
## and there is such a package to downlaod