Skip to content

Templated URL installs #29

@kzantow

Description

@kzantow

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions