mirror of
https://github.com/fmtlib/fmt.git
synced 2025-02-05 00:40:12 +00:00
Fix manage.py script
This commit is contained in:
parent
57bee9fcdd
commit
fc8e3de7db
@ -240,7 +240,7 @@ def release(args):
|
|||||||
# Update the version in the changelog.
|
# Update the version in the changelog.
|
||||||
title_len = 0
|
title_len = 0
|
||||||
for line in fileinput.input(changelog_path, inplace=True):
|
for line in fileinput.input(changelog_path, inplace=True):
|
||||||
if line.decode('utf-8').startswith(version + ' - TBD'):
|
if line.startswith(version + ' - TBD'):
|
||||||
line = version + ' - ' + datetime.date.today().isoformat()
|
line = version + ' - ' + datetime.date.today().isoformat()
|
||||||
title_len = len(line)
|
title_len = len(line)
|
||||||
line += '\n'
|
line += '\n'
|
||||||
|
Loading…
x
Reference in New Issue
Block a user