No "official" documentation suggest to use annotated tags for releasing a new module version

98 views
Skip to first unread message

Manlio Perillo

unread,
Jan 15, 2020, 11:46:41 AM1/15/20
to golang-nuts
Today I release my first release of a module.

Following https://blog.golang.org/publishing-go-modules, I create a non annotated tag.
When I pushed the code to github I noticed that the tag was not sent to the remote repository.
The option --follow-tags refuse to send not annotated tag.

The only article I found that use annotated tags is https://dave.cheney.net/2016/06/24/gophers-please-tag-your-releases, published 3 years ago.

https://github.com/golang/go/wiki/Modules seems to use local tagging.
so I'm not sure what to change.


Thanks
Manlio Perillo

Bryan C. Mills

unread,
Jan 22, 2020, 12:17:56 PM1/22/20
to golang-nuts
Please file an issue to update the documentation. (https://golang.org/issue/new)

Manlio Perillo

unread,
Jan 22, 2020, 6:16:33 PM1/22/20
to golang-nuts
Probably the documentation should have a section about releasing modules.
But since there is no `go release` command, it should go somewhere else, but I'm not sure.

By the way, I find it hard reading the online documentation, since the topic/section index does not match the commands/topics reported by `go help`.

Thanks
Manlio Perillo
Reply all
Reply to author
Forward
0 new messages