Seed Support #56
1 changed files with 10 additions and 1 deletions
|
@ -24,6 +24,14 @@ TEMPLATE = """### Added
|
||||||
*
|
*
|
||||||
*
|
*
|
||||||
|
|
||||||
|
### Deprecated
|
||||||
|
*
|
||||||
|
*
|
||||||
|
|
||||||
|
### Removed
|
||||||
|
*
|
||||||
|
*
|
||||||
|
|
||||||
"""
|
"""
|
||||||
|
|
||||||
|
|
||||||
|
@ -96,6 +104,7 @@ class Changelog(object):
|
||||||
output.append('### {}'.format(section))
|
output.append('### {}'.format(section))
|
||||||
for entry in sections[section]:
|
for entry in sections[section]:
|
||||||
output.append(' * {}'.format(entry))
|
output.append(' * {}'.format(entry))
|
||||||
|
output.append("\n")
|
||||||
return output
|
return output
|
||||||
|
|
||||||
def get_unreleased(self):
|
def get_unreleased(self):
|
||||||
|
@ -106,7 +115,7 @@ class Changelog(object):
|
||||||
return
|
return
|
||||||
|
|
||||||
today = datetime.datetime.today()
|
today = datetime.datetime.today()
|
||||||
header = '## [{}] - {}\n'.format(version, today.strftime('%Y-%m-%d'))
|
header = "## [{}] - {}\n\n".format(version, today.strftime('%Y-%m-%d'))
|
||||||
|
|
||||||
changelog_data = (
|
changelog_data = (
|
||||||
''.join(self.start) +
|
''.join(self.start) +
|
||||||
|
|
Loading…
Reference in a new issue