Context, prior to tagging a release, the team prepares a RELEASE_NOTES.md
file. We would like to use the contents of this file as the contents to display on the release page after we cut the release.
Is it possible to customize the contents of a release page on Github by simply using the contents of an existing file?
I see that you can customize it via existing files goreleaser provides as documented in https://goreleaser.com/customization/release/#github. Is it possible to maybe cat
a file?
Yes, it is possible. There are a couple of flags in the
goreleaser release
command:You probably want
--release-notes
.