x/exp/cmd/gorelease: retraction diagnostic reported for dependency which doesn't exist #66892
Labels
NeedsInvestigation
Someone must examine and confirm this is a valid issue and not a duplicate of an existing one.
Milestone
Go version
go 1.22.2
Output of
go env
in your module/workspace:What did you do?
I have run gorelease.
What did you see happen?
gorelease printed two diagnostics and returned exit code 1
What did you expect to see?
I do not expect to see the diagnostics, because I do not have those modules listed in my go.mod as either direct or indirect dependencies.
I was able to get gorelease working by introducing a dependency on the retracted modules (which otherwise won't be in my go.mod after running "go mod tidy").
Once depending on these dependencies (which I don't otherwise need). I was able to "go get" to get non-retracted versions.
The end result is that I've added extra unneeded dependencies to my project to make it so gorelease won't fail. This is definitely not working as intended.
The text was updated successfully, but these errors were encountered: