Join GitHub today
GitHub is where the world builds software
go/list how to list available modules with new patch release #40990
Currently, I am not able to list new version of module but for patch only.
module github.com/test/test go 1.15 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.
$ go list -u -m all | grep "go.mongodb.org/mongo-driver" go.mongodb.org/mongo-driver v1.3.6 [v1.4.0]
I want use this in my CI with psampaz/go-mod-outdated from @psampaz but only for patch version with something like :
go list -u -m -json all | go-mod-outdated -update -direct -style markdown -ci
What version of Go are you using (