diff options
author | Victor Zverovich <viz@meta.com> | 2024-01-01 11:06:44 -0800 |
---|---|---|
committer | Victor Zverovich <viz@meta.com> | 2024-01-01 11:06:44 -0800 |
commit | 051b31531cafd157920049c2f42b866924b68f3f (patch) | |
tree | 2217089b3f995af83ea6e9e244916e4d0136b260 | |
parent | b0569451a798232efc7a5eaa0c210e6626069e06 (diff) | |
download | fmtlib-051b31531cafd157920049c2f42b866924b68f3f.tar.gz |
Fix changelog update
-rwxr-xr-x | support/manage.py | 3 |
1 files changed, 2 insertions, 1 deletions
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('#'): |