Arm64 vs aarch64 - better to host a curl.sh
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
Ok.. found usage of releaselab installs,
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
release lab script also wont work since the file name is not normalized
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
curl https://i.jpillora.com/abice/[email protected] | bash
This is something working way to install this repo