Skip to content

Commit

Permalink
Fix changelog update
Browse files Browse the repository at this point in the history
  • Loading branch information
vitaut committed Jan 1, 2024
1 parent b056945 commit 051b315
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion support/manage.py
Original file line number Diff line number Diff line change
Expand Up @@ -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('#'):
Expand Down

0 comments on commit 051b315

Please sign in to comment.