-
|
I'm dealing with a Go mono repo that has the following structure: I want to push a tag # subroj1/.goreleaser.yaml
project_name: subproj1
monorepo:
tag_prefix: subproject1/
dir: subproj1The above example assumes a single directory on the root will encapsulate everything related to a sub-project. I'm unsure where to place the sub-project I also could not find an example of a relevant GitHub action. I thought I could hack something up by creating multiple GoReleaser workflows, each of which gets triggered by certain tags and on certain files only. I wasn't sure, though, how GoReleaser would create a proper changelog. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 3 replies
-
|
Hey! There's a full example here: https://github.com/goreleaser/example-monorepo Basically, each folder has its own config, and the release workflow decides which config to use based on the tag. Hope that helps! |
Beta Was this translation helpful? Give feedback.
for the changelog, right?
if so, you can set:
https://goreleaser.com/customization/changelog/