From 051b31531cafd157920049c2f42b866924b68f3f Mon Sep 17 00:00:00 2001 From: Victor Zverovich Date: Mon, 1 Jan 2024 11:06:44 -0800 Subject: [PATCH] Fix changelog update --- support/manage.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/support/manage.py b/support/manage.py index 55cc3bdf..cfb49797 100755 --- a/support/manage.py +++ b/support/manage.py @@ -238,7 +238,8 @@ def release(args): for i, line in enumerate(fileinput.input(changelog_path, inplace=True)): if i == 0: version = re.match(r'# (.*) - TBD', line).group(1) - line = version + ' - ' + datetime.date.today().isoformat() + '\n' + line = '# {} - {}\n'.format( + version, datetime.date.today().isoformat()) elif not is_first_section: pass elif line.startswith('#'):