release script: add one less newline

This commit is contained in:
Maximilian Hils 2024-06-13 11:19:23 +02:00 committed by GitHub
parent da05700b9a
commit 249eb8c735
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -72,7 +72,7 @@ if __name__ == "__main__":
title = f"## {date}: mitmproxy {version}"
cl = changelog.read_text("utf8")
assert title not in cl
cl, ok = re.subn(r"(?<=## Unreleased: mitmproxy next)", f"\n\n\n\n{title}", cl)
cl, ok = re.subn(r"(?<=## Unreleased: mitmproxy next)", f"\n\n\n{title}", cl)
assert ok == 1
changelog.write_text(cl, "utf8")