diff --git a/cliff.toml b/cliff.toml index 899c79c..a591d67 100644 --- a/cliff.toml +++ b/cliff.toml @@ -29,10 +29,10 @@ body = """ {% if 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") }} {% 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 %}\ {% else %}\ ## [unreleased]