cmd/go: 'go mod edit -replace' fails if the package's version in go.mod is not in semver format #34382
Labels
GoCommand
cmd/go
modules
NeedsInvestigation
Someone must examine and confirm this is a valid issue and not a duplicate of an existing one.
Milestone
What version of Go are you using (
go version
)?Does this issue reproduce with the latest release?
Yes
What operating system and processor architecture are you using (
go env
)?go env
What did you do?
A simplified example suggested by @heschik is to run the following command twice:
What did you expect to see?
What did you see instead?
A "version must be of the form v1.2.3" error.
The text was updated successfully, but these errors were encountered: