浏览代码

v1.18: [anza migration]: fix download link for net scripts (backport of #219) (#352)

* [anza migration]: fix download link for net scripts (#219)

(cherry picked from commit e682fec28e6c40741c7e6c5a566553d0c3f916f4)

# Conflicts:
#	net/net.sh
#	scripts/agave-install-deploy.sh

* fix conflict

---------

Co-authored-by: Yihau Chen <a122092487@gmail.com>
Co-authored-by: yihau <yihau.chen@icloud.com>
mergify[bot] 1 年之前
父节点
当前提交
14dfc41318
共有 2 个文件被更改,包括 3 次插入3 次删除
  1. 1 1
      net/net.sh
  2. 2 2
      scripts/agave-install-deploy.sh

+ 1 - 1
net/net.sh

@@ -563,7 +563,7 @@ prepareDeploy() {
     if [[ -n $releaseChannel ]]; then
       echo "Downloading release from channel: $releaseChannel"
       rm -f "$SOLANA_ROOT"/solana-release.tar.bz2
-      declare updateDownloadUrl=https://release.solana.com/"$releaseChannel"/solana-release-x86_64-unknown-linux-gnu.tar.bz2
+      declare updateDownloadUrl=https://release.anza.xyz/"$releaseChannel"/solana-release-x86_64-unknown-linux-gnu.tar.bz2
       (
         set -x
         curl -L -I "$updateDownloadUrl"

+ 2 - 2
scripts/agave-install-deploy.sh

@@ -57,10 +57,10 @@ esac
 
 case $TAG in
 edge|beta)
-  DOWNLOAD_URL=https://release.solana.com/"$TAG"/solana-release-$TARGET.tar.bz2
+  DOWNLOAD_URL=https://release.anza.xyz/"$TAG"/solana-release-$TARGET.tar.bz2
   ;;
 *)
-  DOWNLOAD_URL=https://github.com/solana-labs/solana/releases/download/"$TAG"/solana-release-$TARGET.tar.bz2
+  DOWNLOAD_URL=https://github.com/anza-xyz/agave/releases/download/"$TAG"/solana-release-$TARGET.tar.bz2
   ;;
 esac