Module retraction gives you a way of "undoing" the release.

There is a "Play with Go" guide on the topic:
https://play-with-go.dev/retract-module-versions_go116_en/ (the guide
can be read without needing to use the interactive terminal)

Also the reference documentation for the retract directive:
https://golang.org/ref/mod#go-mod-file-retract

On Fri, 30 Apr 2021 at 22:57, Astha Jain <asthajain1105...@gmail.com> wrote:
>
> Hello,
> I accidentally created a release v1.0.0 for my public package, and it is not 
> cached in module cache.
>
> I deleted the release from git and created a new 0.x release for the package. 
> but when I do go get ..@latest, I still get 1.0.0 version.
>
> How do I go back?
>
> --
> You received this message because you are subscribed to the Google Groups 
> "golang-nuts" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to golang-nuts+unsubscr...@googlegroups.com.
> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/golang-nuts/d83425f3-e4ca-4032-8181-01c0fc8848b9n%40googlegroups.com.

-- 
You received this message because you are subscribed to the Google Groups 
"golang-nuts" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to golang-nuts+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/golang-nuts/CACoUkn7LZ1wECJuHENzk54mqrs0%3DZi_g50rAm2odOSwd6gykNA%40mail.gmail.com.

Reply via email to