retina icon indicating copy to clipboard operation
retina copied to clipboard

Wrong latest version of package when running `go mod tidy`

Open alexcastilio opened this issue 1 year ago • 1 comments

Describe the bug I tried to import github.com/microsoft/retina in my go code and when I ran go mod tidy, I got latest version (v0.10.0) which is not right, since latest is v0.0.16

To Reproduce create a go package import github.com/microsoft/retina run go mod tidy check go.mod: require github.com/microsoft/retina v0.10.0

Expected behavior After run go mod tidy, check go.mod: require github.com/microsoft/retina v0.0.16

Screenshots Screenshot of pkg.go.dev where latest version is also shown as v0.10.0: image

Platform (please complete the following information):

  • OS: [e.g. AzureLinux]
  • Kubernetes Version: [e.g. 1.22]
  • Host: [e.g. AKS, KIND, self-host, etc]
  • Retina Version:

Additional context Add any other context about the problem here.

alexcastilio avatar Sep 09 '24 15:09 alexcastilio

that one was supposed to be v0.0.10 😢 i thought it was cleaned up fast enough but seems not. i guess we should shift to incrementing the minor ver so that this isn't an issue until v1.0

rbtr avatar Sep 09 '24 15:09 rbtr

https://pkg.go.dev/about#removing-a-package maybe we can fix this? @kamilprz @alexcastilio

rbtr avatar Nov 06 '24 17:11 rbtr