github-changelog-generator icon indicating copy to clipboard operation
github-changelog-generator copied to clipboard

No newlines in output when header is empty

Open djhoese opened this issue 4 years ago • 2 comments

Describe the bug I haven't run github_changelog_generator in a while, but with a new install the output has no newlines added.

Example output:

## [v0.7.0](https://github.com/vispy/vispy/tree/v0.7.0) (2021-06-30)**Enhancements:**- Change Visual GL state so it is only set if drawing [\#2111](https://github.com/vispy/vispy/pull/2111)

To Reproduce

git clone [email protected]:vispy/vispy.git
cd vispy
github_changelog_generator --user vispy --project vispy --since-tag v0.6.6 --future-release v0.7.0 -o ""

Expected behavior New lines between entries and sections.

Screenshots If applicable, add screenshots to help explain your problem.

Desktop (please complete the following information):

  • OS: [e.g. iOS] PopOS/Ubuntu
  • Browser [e.g. chrome, safari] Firefox
  • Version [e.g. 22] 1.16.4/1.16.0/1.15.2 on ruby 2.7.0

Additional context I know almost nothing about ruby. I've just liked the output of this tool so I've been using it, but haven't had a release for my project in a while so haven't had to run it on this system for a long time.

I'm sure I'm missing something dumb. Thanks for your help.

djhoese avatar Jun 30 '21 18:06 djhoese

Of course I find a workaround right after posting this. I have header= in my config file. Removing this seems to fix the newlines.

djhoese avatar Jun 30 '21 18:06 djhoese

In my case, it was a header-label= in the config 😞

kzu avatar Oct 19 '21 00:10 kzu