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

Arm64 vs aarch64 - better to host a curl.sh #205

Open
ysaakpr opened this issue Jul 17, 2023 · 5 comments
Open

Arm64 vs aarch64 - better to host a curl.sh #205

ysaakpr opened this issue Jul 17, 2023 · 5 comments

Comments

@ysaakpr
Copy link

ysaakpr commented Jul 17, 2023

Wont work always, some linux distros are having aarch64 isntead of arm64 for the uname -m

curl -fsSL "https://github.com/abice/go-enum/releases/download/$(GO_ENUM_VERSION)/go-enum_$(uname -s)_$(uname -m)" -o go-enum

@ysaakpr
Copy link
Author

ysaakpr commented Jul 17, 2023

Ok.. found usage of releaselab installs,

@ysaakpr ysaakpr closed this as completed Jul 17, 2023
@ysaakpr
Copy link
Author

ysaakpr commented Jul 17, 2023

curl -fsSL https://github.com/release-lab/install/raw/v1/install.sh | bash -s -- -r=abice/go-enum -v=v0.5.6 -e=go-enum
[1/3] Download https://github.com/abice/go-enum/releases/download/v0.5.6/go-enum_linux_arm64.tar.gz to /root/Downloads
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
curl: (22) The requested URL returned error: 404

@ysaakpr ysaakpr reopened this Jul 17, 2023
@ysaakpr
Copy link
Author

ysaakpr commented Jul 17, 2023

release lab script also wont work since the file name is not normalized

@ysaakpr
Copy link
Author

ysaakpr commented Jul 17, 2023

Found a similar ticket is closed without a fix..

yes.. I can tweak it.. better to do a simple naming convention as per the std, and you can add the following install line to the document for all linux and unix systems, and for windows there is a power shell command script from realease-lab which will work well.

curl -fsSL https://github.com/release-lab/install/raw/v1/install.sh | bash -s -- -r=abice/go-enum -v=v0.5.6 -e=go-enum

@ysaakpr
Copy link
Author

ysaakpr commented Jul 17, 2023

curl https://i.jpillora.com/abice/[email protected] | bash

This is something working way to install this repo

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

No branches or pull requests

1 participant