Fix vertical spacing in changelog generation
This commit is contained in:
parent
a489374ca6
commit
97b6d8cb1c
|
@ -191,8 +191,8 @@ def changelog_filepath(crate: str) -> str:
|
||||||
|
|
||||||
def add_to_changelog_file(crate: str, content: str, version: str) -> None:
|
def add_to_changelog_file(crate: str, content: str, version: str) -> None:
|
||||||
insert_text = f"\n## {version} - {date.today()}\n"
|
insert_text = f"\n## {version} - {date.today()}\n"
|
||||||
insert_text += content
|
insert_text += content.strip()
|
||||||
insert_text += "\n"
|
insert_text += "\n\n"
|
||||||
|
|
||||||
file_path = changelog_filepath(crate)
|
file_path = changelog_filepath(crate)
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue