Browse Source

chore(relup): download relup base version packages from s3

zhouzb 3 years ago
parent
commit
c638e607cc
1 changed files with 2 additions and 2 deletions
  1. 2 2
      scripts/relup-build/download-base-packages.sh

+ 2 - 2
scripts/relup-build/download-base-packages.sh

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