good old changelogs

This commit is contained in:
Rick Lan
2024-06-24 21:25:56 +08:00
parent b18c5b401a
commit 962b877cc6
2 changed files with 1160 additions and 1 deletions

1159
CHANGELOGS.md Normal file

File diff suppressed because it is too large Load Diff

View File

@@ -86,7 +86,7 @@ def set_consistent_flag(consistent: bool) -> None:
def parse_release_notes(basedir: str) -> bytes:
try:
with open(os.path.join(basedir, "RELEASES.md"), "rb") as f:
with open(os.path.join(basedir, "CHANGELOGS.md"), "rb") as f:
r = f.read().split(b'\n\n', 1)[0] # Slice latest release notes
try:
return bytes(parse_markdown(r.decode("utf-8")), encoding="utf-8")