Add changelog entries on tag commit#439
Add changelog entries on tag commit#439gforcada wants to merge 2 commits intozestsoftware:masterfrom
Conversation
Grab the changes that are to be written on the changelog file and write them as part of the commit message. This allows to integrate with GitHub release tooling to automatically grab what's part of a release from the commit message of said release. This way, while still releasing with `zest.releser` one can nicely integrate with GitHub releases (and probably GitLab releases as well).
50f8128 to
be871c6
Compare
|
When I hear |
|
I tried it manually on a test package that does not use towncrier, with https://github.com/mauritsvanrees/mauritstestpackage/releases/tag/v3.0.0 The release note is "Tagging 3.0.0", which is from the tag, so not from the commit message. I tried a change in zest.releaser which would work without towncrier as well: With that I released v3.0.4. |
|
@mauritsvanrees so, would you suggest that the key to use should be |
|
Yes, the |
Fixes #218
My main use case here is
zest.releaserused together withzestreleaser.towncrier.Thus the changes here are almost a noop, as the new key added to
DATA(history_this_release) is expected to be filled onzestreleaser.towncrier.For plain
zest.releaseruse case, we might have to parse the change log file manually to extract that information, right? Or is thehistory_last_releasea good candidate already? 🤔I was not 100% sure, so that's why I'm creating this PR as a draft.
I'm pushing the
zestreleaser.towncrierchanges in a bit, stay tuned 📻