Fix missing line returns after version first line
This commit is contained in:
parent
21692634f2
commit
a0a7c5e0ab
1 changed files with 7 additions and 3 deletions
10
gitdch
10
gitdch
|
@ -224,15 +224,19 @@ changelog_lines = []
|
|||
for version in versions:
|
||||
# pylint: disable=consider-using-f-string
|
||||
changelog_lines.append(
|
||||
'{package} ({version}-1) {code_name}; urgency={urgency}'.format(
|
||||
'{package} ({version}-1) {code_name}; urgency={urgency}\n\n'.format(
|
||||
package=options.package_name,
|
||||
version=version['name'],
|
||||
code_name=options.code_name,
|
||||
urgency=options.urgency
|
||||
)
|
||||
)
|
||||
for message in version['messages']:
|
||||
changelog_lines.append(' * {0}\n'.format(message))
|
||||
|
||||
# pylint: disable=consider-using-f-string
|
||||
changelog_lines.extend([
|
||||
' * {0}\n'.format(message)
|
||||
for message in version['messages']
|
||||
])
|
||||
|
||||
# pylint: disable=consider-using-f-string
|
||||
changelog_lines.append(
|
||||
|
|
Loading…
Reference in a new issue