fix(CI): remove e|v from downloading urls of emqx packages
This commit is contained in:
parent
3690d1951e
commit
3bd961ca73
|
@ -55,7 +55,7 @@ pushd _upgrade_base
|
|||
|
||||
for tag in $(../scripts/relup-base-vsns.sh $EDITION | xargs echo -n); do
|
||||
filename="$PROFILE-$SYSTEM-${tag#[e|v]}-$ARCH.zip"
|
||||
url="https://www.emqx.com/downloads/$DIR/$tag/$filename"
|
||||
url="https://www.emqx.com/downloads/$DIR/${tag#[e|v]}/$filename"
|
||||
echo "downloading base package from ${url} ..."
|
||||
if [ ! -f "$filename" ] && curl -I -m 10 -o /dev/null -s -w "%{http_code}" "${url}" | grep -q -oE "^[23]+" ; then
|
||||
curl -L -o "${filename}" "${url}"
|
||||
|
|
Loading…
Reference in New Issue