-
Notifications
You must be signed in to change notification settings - Fork 290
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
go backend can't install tools without "v" prefix in git repo tags #2593
Comments
@jdx guess this can be closed (forgot to mention issue in the PR) |
This now breaks any existing configuration that was using |
Fyi this also breaks installs using |
@davepgreene Do you have an example? The following seems to work fine for modules which have a [tools]
"go:github.com/DarthSim/hivemind" = "latest" |
Yep that's exactly what I'm seeing (and meant when I was saying "using
That adds the following line to the
|
By definition versions of a go module start with a |
That's true but if you recall
I figure based on this discussion that mise does something quite different under the hood but I just want to put out there that go's tooling does support installing a binary using Edit: so I took a look at how the go backend works and most of the warnings are just from the version resolution stuff. The thing that's actually causing a failure is the swapping in and out of the Anyway, probably worth filing a separate ticket for this. |
Describe the bug
Can't install go-backend tools that don't have "v" in git repo tags
To Reproduce
mise use go:github.com/dadav/helm-schema/cmd/helm-schema@0.13.1-2
Expected behavior
helm-schema installed
mise doctor
outputAdditional context
Log:
go install github.com/dadav/helm-schema/cmd/helm-schema@0.13.1-2
works fineThe text was updated successfully, but these errors were encountered: