mirror of
https://github.com/kotatogram/kotatogram-desktop
synced 2025-08-31 06:35:14 +00:00
Use generate_target for timestamped changelog generator.
This commit is contained in:
@@ -9,8 +9,8 @@ def parse_changelog(changelog_path):
|
||||
version_re = re.compile(r'([\d.-]+)\s+(\w+)?\s*\((\d{2}.\d{2}\.\d{2})\)')
|
||||
entry_re = re.compile(r'-\s(.*)')
|
||||
|
||||
with open(changelog_path, "r") as f:
|
||||
changelog_lines = f.read().splitlines()
|
||||
with open(changelog_path, "rb") as f:
|
||||
changelog_lines = f.read().decode('utf-8').splitlines()
|
||||
|
||||
releases = []
|
||||
for l in changelog_lines:
|
||||
|
Reference in New Issue
Block a user