Closed yodatak closed 1 week ago
some more repo that failed
# gh
# "ubi:cli/cli" = "v2.32.1"
# flux
# "ubi:fluxcd/flux2" = "v2.3.0"
# Broken [ubi][ERROR] could not find a release for this OS (x86_64-unknown-linux-gnu) from
# "ubi:junegunn/fzf" = "v0.54.3"
# "ubi:helm/helm" = "v3.15.3"
# "ubi:kubernetes-sigs/krew" = "v0.4.4"
# "ubi:hashicorp/packer" = "v1.11.2"
# "ubi:bitwarden/clients" = "cli-v2024.7.2"
With the CLI version of ubi
, you can pass an --exe
flag to tell it the name of the executable to look for in the archive it downloads. In my PR for ubi
-as-a-library, #2290, you can set this in the config, though I haven't actually tested this end-to-end with that code, so it only works in theory there.
as workaround i use this
"ubi:https://github.com/cert-manager/cmctl/releases/download/v2.1.0/cmctl_linux_amd64" = "latest"
As of v2023.10.3 released 2 days ago, UBI is now built-in to mise as a library, and includes the ability to pass extra options to UBI.
Installing GitHub's CLI for example can be done with:
[tools]
"ubi:cli/cli" = { version = "latest", exe = "gh" }
That one actually can be installed with mise use gh
as a shorthand using ubi
i close thanks a lot !
Describe the bug When i want to use ubi backend to download gitlab-cli and flux2 i don't work because they are name differents from their repo name
To Reproduce in mise config
Expected behavior To work with this repos