In the case that binaries exist but are not hosted on Github releases, such as Helm, it might require downloading an archive and extracting a binary asset from the archive. By default, if there is a single binary, Binny could detect this and extract it to a file with the given name. An example might look something like this:
- name: helm
version:
want: v3.15.3
method: archive
with:
url: "https://get.helm.sh/helm-{{.Version}}-{{.Platform}}.{{.Extension}}"
overrides:
arm64:
Platform: aarch64
win32:
Extension: zip
Coupled with #28, this would provide a lot of flexibility to support more tools.
In the case that binaries exist but are not hosted on Github releases, such as Helm, it might require downloading an archive and extracting a binary asset from the archive. By default, if there is a single binary, Binny could detect this and extract it to a file with the given
name. An example might look something like this:Coupled with #28, this would provide a lot of flexibility to support more tools.