Skip to content

Commit 051b315

Browse files
committed
Fix changelog update
1 parent b056945 commit 051b315

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

support/manage.py

+2-1
Original file line numberDiff line numberDiff line change
@@ -238,7 +238,8 @@ def release(args):
238238
for i, line in enumerate(fileinput.input(changelog_path, inplace=True)):
239239
if i == 0:
240240
version = re.match(r'# (.*) - TBD', line).group(1)
241-
line = version + ' - ' + datetime.date.today().isoformat() + '\n'
241+
line = '# {} - {}\n'.format(
242+
version, datetime.date.today().isoformat())
242243
elif not is_first_section:
243244
pass
244245
elif line.startswith('#'):

0 commit comments

Comments
 (0)