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?
to your account
Currently, it is not possible to list available update module only for patch.
require go.mongodb.org/mongo-driver v1.3.6
I want to know if a new patch version if available (here v1.3.7 and not v1.4.0), but I don't know how to do.
The given example here https://github.com/golang/go/wiki/Modules#how-to-upgrade-and-downgrade-dependencies is for direct with minor and patch (I just want patch). And yet, the v1.3.7 has been released (https://email@example.com).
$ go list -u -m all | grep "go.mongodb.org/mongo-driver"
go.mongodb.org/mongo-driver v1.3.6 [v1.4.0]
I propose to add -u=patch (as already proposed for go get)
$ go list -u=patch -m all | grep "go.mongodb.org/mongo-driver"
go.mongodb.org/mongo-driver v1.3.6 [v1.3.7]
The text was updated successfully, but these errors were encountered:
CC @jayconrod @matloob
Honestly, I'm surprised that list doesn't already support -u=patch. (I think we should just do this — no need for a formal proposal.)
Sorry, something went wrong.
No branches or pull requests