Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
AAriam committed Oct 24, 2023
1 parent 79a6c94 commit 3e87909
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ namespaces = true
# ----------------------------------------- Project Metadata -------------------------------------
#
[project]
version = "0.0.0.dev160"
version = "0.0.0.dev161"
name = "RepoDynamics"
dependencies = [
"packaging >= 23.2, < 24",
Expand Down
4 changes: 2 additions & 2 deletions src/repodynamics/actions/_changelog.py
Original file line number Diff line number Diff line change
Expand Up @@ -104,8 +104,8 @@ def get_changelog(self, changelog_id: str) -> str:
text_before, text_after = parts[0].strip(), f"## {parts[1].strip()}"
else:
text_before, text_after = text.strip(), ""
entry, _ = self.get_entry(changelog_id).strip()
changelog = f"{text_before}\n\n{entry}\n\n{text_after}".strip() + "\n"
entry, _ = self.get_entry(changelog_id)
changelog = f"{text_before}\n\n{entry.strip()}\n\n{text_after}".strip() + "\n"
return changelog

def get_all_entries(self) -> list[tuple[str, str]]:
Expand Down

0 comments on commit 3e87909

Please sign in to comment.