Skip to content

Commit

Permalink
docs: notes on prefixed tags and monorepos
Browse files Browse the repository at this point in the history
  • Loading branch information
caarlos0 committed May 8, 2024
1 parent 21f8ab7 commit 7b78e19
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions www/docs/customization/monorepo.md
Original file line number Diff line number Diff line change
Expand Up @@ -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/[email protected]`, and
everything should work as you'd expect.

!!! warning

Tag prefixes that do not match the module name are not supported by go mods.

0 comments on commit 7b78e19

Please sign in to comment.