chore(changelog): normalize version headings by replacing hyphens with tildes

This commit is contained in:
2025-12-13 20:11:25 +01:00
parent ff495030d4
commit a2a77a49b1

View File

@@ -29,10 +29,10 @@ body = """
{% if version %}\ {% if version %}\
{% if previous.version %}\ {% if previous.version %}\
## [{{ version | trim_start_matches(pat="v") }}]\ ## [{{ version | trim_start_matches(pat="v") | replace(from="-", to="~") }}]\
({{ self::remote_url() }}/compare/{{ previous.version }}..{{ version }}) - {{ timestamp | date(format="%Y-%m-%d") }} ({{ self::remote_url() }}/compare/{{ previous.version }}..{{ version }}) - {{ timestamp | date(format="%Y-%m-%d") }}
{% else %}\ {% else %}\
## [{{ version | trim_start_matches(pat="v") }}] - {{ timestamp | date(format="%Y-%m-%d") }} ## [{{ version | trim_start_matches(pat="v") | replace(from="-", to="~") }}] - {{ timestamp | date(format="%Y-%m-%d") }}
{% endif %}\ {% endif %}\
{% else %}\ {% else %}\
## [unreleased] ## [unreleased]