Remove the hard-coded "-1" suffix to package versions
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful

The --version-suffix parameter permit to add it if need.
This commit is contained in:
Benjamin Renard 2022-12-12 14:43:39 +01:00
parent cafe12ed3d
commit d7ff1fd03f

2
gitdch
View file

@ -276,7 +276,7 @@ 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}\n\n'.format( '{package} ({version}) {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,