zestsoftware / zest.releaser

Python software releasing made easy and repeatable
https://zestreleaser.readthedocs.io
GNU General Public License v2.0
198 stars 62 forks source link

Add support for custom commit messages to the addchangelogentry command. #323

Closed kleschenko closed 5 years ago

mauritsvanrees commented 5 years ago

Why is this needed? The message that you pass as an argument is reused as commit message. That seems good enough to me.

If you really need this in a script or something, you can do it like this:

$ addchangelogentry "Let's foo the bar." && git amend -am "No let's not."
kleschenko commented 5 years ago

@mauritsvanrees hm, git commit --amend will also work for my case, thanks! Forgot about it first and thought that it would be useful to be able to set a different commit message.

kleschenko commented 5 years ago

@mauritsvanrees is there any way to replace a default Nothing changed yet. line when using the addchangelogentry command?

mauritsvanrees commented 5 years ago

No.