Fix missing line returns after version first line
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
ci/woodpecker/tag/woodpecker Pipeline was successful

This commit is contained in:
Benjamin Renard 2022-08-01 15:16:56 +02:00
parent 21692634f2
commit a0a7c5e0ab

10
gitdch
View file

@ -224,15 +224,19 @@ changelog_lines = []
for version in versions: for version in versions:
# pylint: disable=consider-using-f-string # pylint: disable=consider-using-f-string
changelog_lines.append( 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, package=options.package_name,
version=version['name'], version=version['name'],
code_name=options.code_name, code_name=options.code_name,
urgency=options.urgency 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 # pylint: disable=consider-using-f-string
changelog_lines.append( changelog_lines.append(