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

Remove nothing_changed_yet line from history lines in unreleased section. #324

Closed kleschenko closed 5 years ago

kleschenko commented 5 years ago

Currently, an addchangelogentry command just adds a new entry to a changelog and leaves Nothing changed yet. message untouched. This PR adds a removal of "nothing changed" message when it is the first message in an unreleased section.

mauritsvanrees commented 5 years ago

Ha! Your PR was missing a changelog entry. I have added it:

$ addchangelogentry 'Remove nothing_changed_yet line from history lines in unreleased section. [kleschenko]'
...
--- a/CHANGES.rst
+++ b/CHANGES.rst
@@ -4,7 +4,7 @@ Changelog for zest.releaser
 6.18.2 (unreleased)
 -------------------

-- Nothing changed yet.
+- Remove nothing_changed_yet line from history lines in unreleased section. [kleschenko]

OK to commit this (Y/n)? 

So it indeed works fine. :-)

I have released 6.18.2 with your fix. Thanks!