Skip to content

Commit

Permalink
fix test for dual arch
Browse files Browse the repository at this point in the history
  • Loading branch information
erebe committed Jul 8, 2024
1 parent e37e928 commit c191738
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -22,11 +22,12 @@

arm64)
aarch64)
arch="amd64"
arch="arm4"
;;

*)
arch="amd64"
echo "Un-supported architecture. Please report to us to add it"
exit 1
;;
esac

Expand All @@ -36,7 +37,7 @@
version=$(echo $latest_tag | sed 's/^v//')

test -f $output_tgz && rm -f $output_tgz
curl -o $output_tgz -sOL "https://github.com/${repo}/releases/download/${latest_tag}/qovery-cli_${version}_${os}_amd64.tar.gz"
curl -o $output_tgz -sOL "https://github.com/${repo}/releases/download/${latest_tag}/qovery-cli_${version}_${os}_${arch}.tar.gz"

echo "[+] Uncompressing qovery binary in $dest_binary directory (sudo permissions are required)"
sudo tar -xzf $output_tgz -C $dest_binary qovery
Expand Down

0 comments on commit c191738

Please sign in to comment.