blob: 7c1c047e69e8b97d955c48521f1a44d7b093af9d [file] [log] [blame]
Module example.com/retract/self/prerelease is a module that retracts its own
latest version and all other release version.
A pre-release version higher than the highest release version is still
available, and that should be matched by @latest.
-- .mod --
module example.com/retract/self/prerelease
go 1.15
retract v1.0.0 // bad
retract v1.9.0 // self
-- .info --
{"Version":"v1.9.0"}
-- p.go --
package p