Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

No Binary for x86_64 Mac #892

Closed
christianh814 opened this issue Sep 29, 2023 · 3 comments · Fixed by #912
Closed

No Binary for x86_64 Mac #892

christianh814 opened this issue Sep 29, 2023 · 3 comments · Fixed by #912

Comments

@christianh814
Copy link
Member

The following is not working on an x86_64 Mac:

curl -sSL -o kargo https://github.com/akuity/kargo/releases/latest/download/kargo-$(uname -s | tr '[:upper:]' '[:lower:]')-$(uname -m)

It is resolved in https://github.com/akuity/kargo/releases/latest/download/kargo-darwin-x86_64 which does not exist

@krancour
Copy link
Member

krancour commented Sep 29, 2023

I fired up my very old Mac and can confirm this is an issue. I expected uname -m to return amd64 on an Intel Mac.

We can script around this in the CLI install directions.

@krancour
Copy link
Member

krancour commented Sep 29, 2023

Needs some testing, but this would probably work:

arch=$(uname -m)
[ "$arch" = "x86_64" ] && arch=amd64
curl -L -o kargo https://github.com/akuity/kargo/releases/latest/download/kargo-$(uname -s | tr '[:upper:]' '[:lower:]')-${arch}
chmod +x kargo

@krancour krancour added this to the v0.2.0 milestone Sep 29, 2023
@krancour
Copy link
Member

krancour commented Oct 2, 2023

Tested that script. Easy PR if someone wants to copy/paste.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants