Fix vertical spacing in changelog generation

This commit is contained in:
Emil Ernerfeldt 2024-06-27 14:29:49 +02:00
parent a489374ca6
commit 97b6d8cb1c
1 changed files with 2 additions and 2 deletions

View File

@ -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)