Skip to content

Commit

Permalink
v1.17: [anza migration]: fix download link for net scripts (backport of
Browse files Browse the repository at this point in the history
#219) (#351)

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

(cherry picked from commit e682fec)

# 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>
  • Loading branch information
3 people committed Mar 21, 2024
1 parent 6234bc9 commit 11d4156
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion net/net.sh
Original file line number Diff line number Diff line change
Expand Up @@ -560,7 +560,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"
Expand Down
4 changes: 2 additions & 2 deletions scripts/agave-install-deploy.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit 11d4156

Please sign in to comment.