@@ -3,9 +3,7 @@ owner = "amperser"
33repo = " proselint"
44
55[changelog ]
6- header = """
7- [](https://git-cliff.org)\n
8- """
6+ header = """ # Change Log"""
97
108body = """
119{%- macro remote_url() -%}
@@ -19,12 +17,14 @@ body = """
1917 ([{{ commit.id | truncate(length=7, end="") }}]({{ self::remote_url() }}/commit/{{ commit.id }}))\
2018{% endmacro -%}
2119
20+ {% raw %}\n {% endraw %}\
2221{% if version %}\
2322 {% if previous.version %}\
2423 ## [{{ version | trim_start_matches(pat="v") }}]\
2524 ({{ self::remote_url() }}/compare/{{ previous.version }}..{{ version }}) - {{ timestamp | date(format="%Y-%m-%d") }}
2625 {% else %}\
27- ## [{{ version | trim_start_matches(pat="v") }}] - {{ timestamp | date(format="%Y-%m-%d") }}
26+ ## [{{ version | trim_start_matches(pat="v") }}]\
27+ ({{ self::remote_url() }}/releases/tag/{{ version }}) - {{ timestamp | date(format="%Y-%m-%d") }}
2828 {% endif %}\
2929{% else %}\
3030 ## [unreleased]
@@ -46,19 +46,17 @@ body = """
4646{%- if github -%}
4747{% if github.contributors | filter(attribute="is_first_time", value=true) | length != 0 %}
4848 ## New Contributors ❤️
49- {% endif %}\
5049{% for contributor in github.contributors | filter(attribute="is_first_time", value=true) %}
5150 * @{{ contributor.username }} made their first contribution
5251 {%- if contributor.pr_number %} in \
5352 [#{{ contributor.pr_number }}]({{ self::remote_url() }}/pull/{{ contributor.pr_number }}) \
5453 {%- endif %}
55- {%- endfor -%}
54+ {%- endfor -%}\
55+ {% endif %}
5656{%- endif %}
5757"""
5858
59- footer = """
60- <!-- generated by git-cliff -->
61- """
59+ footer = " "
6260
6361trim = true
6462postprocessors = [
@@ -67,7 +65,7 @@ postprocessors = [
6765
6866[git ]
6967conventional_commits = true
70- filter_unconventional = true
68+ filter_unconventional = false
7169split_commits = false
7270commit_preprocessors = [
7371 { pattern = ' \((\w+\s)?#([0-9]+)\)' , replace = " ([#${2}](<REPO>/issues/${2}))" },
@@ -94,7 +92,7 @@ commit_parsers = [
9492]
9593protect_breaking_commits = false
9694filter_commits = false
97- tag_pattern = " v[0-9].* "
95+ tag_pattern = " v? \\ d+ \\ . \\ d+ \\ . \\ d+ "
9896skip_tags = " beta|alpha"
9997ignore_tags = " rc"
10098topo_order = false
0 commit comments