Skip to content

Commit

Permalink
ci: debug
Browse files Browse the repository at this point in the history
  • Loading branch information
DeepakBomjan committed May 9, 2024
1 parent aed961e commit 297d1d3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions scripts/install_sui.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ repo_url="https://api.github.com/repos/MystenLabs/sui/releases/latest"
latest_tag=$(curl -sSL "$repo_url" | jq -r '.tag_name')
ubuntu_artifact="sui-mainnet-${latest_tag#mainnet-}-ubuntu-x86_64.tgz"
browser_download_url=$(curl -sSL "$repo_url" | jq -r --arg ua "$ubuntu_artifact" '.assets[] | select(.name == $ua) | .browser_download_url')
curl -sSL -o "$ubuntu_artifact" "$browser_download_url"
ls
curl -o "$ubuntu_artifact" "$browser_download_url"

sudo tar -xzvf "$ubuntu_artifact" sui -C /usr/local/bin
rm "$ubuntu_artifact"

0 comments on commit 297d1d3

Please sign in to comment.