chore(relup): download relup base version packages from s3
This commit is contained in:
parent
53f9b59805
commit
c638e607cc
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue