forked from orbit-oss/flask
add rst extension for changelog
fix changelog version
This commit is contained in:
parent
e21abd9da5
commit
213afec771
3 changed files with 13 additions and 16 deletions
|
|
@ -21,7 +21,7 @@ _date_clean_re = re.compile(r'(\d+)(st|nd|rd|th)')
|
|||
|
||||
|
||||
def parse_changelog():
|
||||
with open('CHANGES') as f:
|
||||
with open('CHANGES.rst') as f:
|
||||
lineiter = iter(f)
|
||||
for line in lineiter:
|
||||
match = re.search('^Version\s+(.*)', line.strip())
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue