-
Notifications
You must be signed in to change notification settings - Fork 18k
cmd/go: go get -u should not upgrade to unstable version #51922
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
Comments
Is this new in Go 1.18? CC @bcmills |
Oops, meant to also CC @matloob. |
x/tools has required x/mod v0.6.0-dev.0.20220106191415-9b9b3d81d5e3 |
I had the same expectation as @andig. The documentation here describes that for early modules, we should use a leading
This document encourages developers to indicate breaking changes by updating the MINOR version number for these "unstable version" modules. While, yes, the documentation for
However, this does not support the spirit of the " So currently, there is no way for developers to achieve both of these aims:
|
@seankhliao, could you reopen this issue since the problem is about |
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
OutputWhat did you do?
What did you expect to see?
Stable versions updated to stable versions only.
What did you see instead?
The text was updated successfully, but these errors were encountered: