fix(changelog): normalize version hyphens to tildes in Debian changelog
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
[changelog]
|
||||
body = """\
|
||||
{{ get_env(name="PACKAGE_NAME") }} ({% if version %}{{ version | trim_start_matches(pat="v") }}{% else %}0.0.0-1{% endif %}) unstable; urgency=medium\
|
||||
{{ get_env(name="PACKAGE_NAME") }} ({% if version %}{{ version | replace(from="-", to="~") | trim_start_matches(pat="v") }}{% else %}0.0.0-1{% endif %}) unstable; urgency=medium\
|
||||
{% for group, commits in commits | group_by(attribute="group") %}
|
||||
* {{ group | striptags | trim | upper_first }}:\
|
||||
{% for commit in commits %}
|
||||
|
||||
Reference in New Issue
Block a user