Closed chasinglogic closed 2 months ago
Ah my confusion is answered after actually reading the code I found I need to use ref:master
instead of master
.
I think it is a bug that ls-remote
returns master
when that's not a valid value. Would you like a PR to remove it?
@chasinglogic I agree that this might mislead people to think that master
is a installable version. IMO it should not be shown with ls-remote
. A pull request would be highly appreciated.
Describe the bug
I would like to run zig master as that is recommended by https://ziglang.org
It seems that mise supports this with
mise ls-remote zig
showing a master version but when I attempt to install it I get an HTTP error as the download URL seems incorrect.To Reproduce
Expected behavior
I expected mise to install the zig nightly build.
mise doctor
outputAdditional context
I think zig have changed the format of their URLs. But if I read this PR correctly then mise should pull it down from the /downloads/index.json which has the correct URL.
Add any other context about the problem here. Consider running mise with
--debug
or--trace
for extra debug info.