release script: add one less newline
This commit is contained in:
parent
da05700b9a
commit
249eb8c735
|
@ -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")
|
||||
|
||||
|
|
Loading…
Reference in New Issue