This is an automated email from the ASF dual-hosted git repository.

wusheng pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/skywalking-cli.git


The following commit(s) were added to refs/heads/master by this push:
     new 70241d4  Update download host (#132)
70241d4 is described below

commit 70241d479ec84fea121477098eb36e463bab9ea4
Author: Brandon Fergerson <[email protected]>
AuthorDate: Tue Dec 28 20:40:33 2021 -0500

    Update download host (#132)
---
 scripts/install.bat | 6 +++---
 scripts/install.sh  | 6 +++---
 2 files changed, 6 insertions(+), 6 deletions(-)

diff --git a/scripts/install.bat b/scripts/install.bat
index 116a0de..5797480 100644
--- a/scripts/install.bat
+++ b/scripts/install.bat
@@ -36,12 +36,12 @@ set VERSION=%VERSION:~1%
 if "%VERSION%" NEQ "UNKNOW" (
 
     @REM Download the binary package.
-    curl -LO 
"https://apache.website-solution.net/skywalking/cli/%VERSION%/skywalking-cli-%VERSION%-bin.tgz";
+    curl -LO 
"https://archive.apache.org/dist/skywalking/cli/%VERSION%/skywalking-cli-%VERSION%-bin.tgz";
     if EXIST "skywalking-cli-%VERSION%-bin.tgz" (
         tar -zxvf ".\skywalking-cli-%VERSION%-bin.tgz"
 
         @REM Verify the integrity of the downloaded file.
-        curl -LO 
"https://downloads.apache.org/skywalking/cli/%VERSION%/skywalking-cli-%VERSION%-bin.tgz.sha512";
+        curl -LO 
"https://archive.apache.org/dist/skywalking/cli/%VERSION%/skywalking-cli-%VERSION%-bin.tgz.sha512";
         CertUtil -hashfile skywalking-cli-%VERSION%-bin.tgz sha512 | findstr 
/X "[0-9a-zA-Z]*" > verify.txt
         for /F "tokens=*" %%i in ( 'type ".\verify.txt"' ) do ( set 
VERIFY1="%%i  skywalking-cli-%VERSION%-bin.tgz" )
         for /F "tokens=*" %%i in ( 'type 
".\skywalking-cli-%VERSION%-bin.tgz.sha512"' ) do ( set VERIFY2="%%i" )
@@ -67,4 +67,4 @@ if "%VERSION%" NEQ "UNKNOW" (
     )
 ) else (
     @echo Can't get the latest version. The install script may be invalid, try 
other install methods please.
-)
\ No newline at end of file
+)
diff --git a/scripts/install.sh b/scripts/install.sh
index a1ccef5..cdd91d2 100644
--- a/scripts/install.sh
+++ b/scripts/install.sh
@@ -56,10 +56,10 @@ if [ "$VERSION" != "" ]; then
     echo "The latest version of swctl is $VERSION"
     
     # Download the binary package.
-    curl -sSLO 
"https://apache.website-solution.net/skywalking/cli/$VERSION/skywalking-cli-$VERSION-bin.tgz";
 > /dev/null
+    curl -sSLO 
"https://archive.apache.org/dist/skywalking/cli/$VERSION/skywalking-cli-$VERSION-bin.tgz";
 > /dev/null
     if [ -f "skywalking-cli-$VERSION-bin.tgz" ]; then
         # Verify the integrity of the downloaded file.
-        curl -sSLO 
"https://downloads.apache.org/skywalking/cli/$VERSION/skywalking-cli-$VERSION-bin.tgz.sha512";
 > /dev/null
+        curl -sSLO 
"https://archive.apache.org/dist/skywalking/cli/$VERSION/skywalking-cli-$VERSION-bin.tgz.sha512";
 > /dev/null
         VERIFY=$(shasum -a512 -c "skywalking-cli-$VERSION-bin.tgz.sha512")
         if [ "${VERIFY#* }" = "OK" ]; then
             echo "The downloaded file is complete."
@@ -81,4 +81,4 @@ if [ "$VERSION" != "" ]; then
 else
     echo $VERSION
     abort "Can't get the latest version. The install script may be invalid, 
try other install methods please."
-fi
\ No newline at end of file
+fi

Reply via email to