1
0
mirror of https://github.com/goreleaser/goreleaser.git synced 2025-03-17 20:47:50 +02:00

docs: notes on prefixed tags and monorepos

This commit is contained in:
Carlos Alexandro Becker 2024-05-08 15:37:59 -03:00
parent 21f8ab78d5
commit 7b78e195e2
No known key found for this signature in database

View File

@ -74,3 +74,16 @@ goreleaser release --clean
GoReleaser will then ignore the tags that are not prefixed with `v`, and it
should work as expected from there on.
## A note about gomods and prefixed tags
!!! note
If you have a `github.com/user/repo/moda` module, its tags should be named
`moda/v1.2.3`.
This will allow users to `go get github.com/user/repo/moda@v1.2.3`, and
everything should work as you'd expect.
!!! warning
Tag prefixes that do not match the module name are not supported by go mods.