Closed jimeh closed 3 months ago
Hmmm, I might be missing something, UBI still doesn't seem to install the latest version of cargo-binstall for me:
jimeh@noct ~ ❯ mise version
2024.5.12 macos-arm64 (29a84f8 2024-05-13)
jimeh@noct ~ ❯ mise upgrade cargo:ubi
mise All tools are up to date
jimeh@noct ~ ❯ mise use -g ubi:cargo-bins/cargo-binstall
mise ubi:cargo-bins/cargo-binstall@v0.22.0 ✓ installed mise ~/.config/mise/config.toml tools: ubi:cargo-bins/cargo-binstall@v0.22.0
try clearing cache, it's working for me:
jdx in 🌐 bamboo in mise bubble 1 ❯ m use -g ubi:cargo-bins/cargo-binstall
mise ubi:cargo-bins/cargo-binstall@v1.6.6 ✓ installed mise ~/.config/mise/config.toml tools: ubi:cargo-bins/cargo-binstall@v1.6.6
🤦♂️... I was missing something, clearing the cache. I did no think of that in my half-asleep state last night :)
Apologies for the hassle, and thank you again :D
Describe the bug
The UBI backend resolves
latest
as oldest remote version, rather than newest. This seems to be due tomise ls-remote ubi:[...]
listing github release tags from newest to oldest, the@latest
selector simply taking the last release from that list.To Reproduce
Expected behavior
That the correct latest version is picked and installed when use
@latest
selector.mise doctor
outputAdditional context
N/A