Skip to content

Commit

Permalink
Improve generated changelog format
Browse files Browse the repository at this point in the history
  • Loading branch information
tandemdude committed Jun 11, 2024
1 parent 44ea9a3 commit 9764904
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions scripts/deploy/populate_changelog.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,12 @@ def main(new_changes_path: str, changelog_path: str) -> None:
with open(new_changes_path) as fp:
new_changes = fp.read().strip()

new_changes_lines = new_changes.splitlines()
# Remove the underline (I can't be bothered to make my own template
new_changes_lines.pop(1)
# Add the h2 prefix for the version number
new_changes = "## " + "\n".join(new_changes_lines)

with open(changelog_path) as fp:
changelog_contents = fp.read()

Expand Down

0 comments on commit 9764904

Please sign in to comment.