chore: update duties.py

This commit is contained in:
2021-12-26 21:36:27 +00:00
parent 9028594800
commit 750dea1e91

View File

@@ -345,7 +345,7 @@ def changelog(ctx, planned_release: Optional[str] = None, previous_release: Opti
1, 1,
f"<small>[Compare with {previous_release}]({REPO_URL}/compare/{previous_release}..{planned_release})</small>", f"<small>[Compare with {previous_release}]({REPO_URL}/compare/{previous_release}..{planned_release})</small>",
) )
generated_changelog: str = "\n".join([line for line in generated_changelog]) + "\n" generated_changelog: str = "\n".join(list(generated_changelog)) + "\n"
new_changelog = [] new_changelog = []
changelog_file = pathlib.Path(".") / "CHANGELOG.md" changelog_file = pathlib.Path(".") / "CHANGELOG.md"