Open grzesuav opened 8 months ago
Also, how I can pass argument to goreleaser
?
Also, I found a bug (or misued the hook) - for me the footer
setting was not working, was able to fix it by using exec
hook to just create ta, and then run bare goreleaser
on tags - https://github.com/orgs/goreleaser/discussions/4680#discussioncomment-8750286
Hi @grzesuav, first of all, sorry for the lack of documentation 🙏
The plugin uses a fork of GoReleaser (https://github.com/go-semantic-release/hooks-goreleaser/tree/main/goreleaser) because go-semantic-release has to inject itself directly into the release pipeline (unfortunately GoReleaser does not provide the necessary public APIs). The only way to configure GoReleaser is though the .goreleaser.yaml
config.
You can find the used GoReleaser version in the go.mod file.
go-semantic-release has its own changelog generator. Therefore, it disables GoReleaser's changelog generation and renders all changelog config options (e.g.,footer
) non-functional. To support the footer
config, I would extend the existing changelog generator plugin.
The main idea when I developed this plugin was to have an automatic setup to cross-compile your go binaries.
Got it, thanks @christophwitzko ! I am not very familiar with design, do you have idea of how goreleaser config could be read from .goreleaserrc config instead of be substituted ?
hi, I tried to use it and it worked out of the box, however I have few questions:
release
phase ?