Open rafaelvanoni opened 5 years ago
Workaround as suggested by @thepudds and @heschik is to run go list -m all
or go mod tidy
I'd be happy to contribute a patch if someone has a few minutes to point me in the right direction
go mod edit -replace old@${v}=new@{vv}, here, could we specify a branch for placeholder ${vv}.
Now it is not supported, a little inconvenient. But @commithash can workaround.
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.