File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -496,7 +496,7 @@ jobs:
496496 # This script extracts the content between the latest tag and the previous tag.
497497 notes=$(awk -v tag="## [${latest_tag##v}]" '
498498 BEGIN { p = 0 }
499- $0 ~ tag { p = 1; next }
499+ index($0, tag) { p = 1; next }
500500 p && /^## / { exit }
501501 p { print }
502502 ' CHANGELOG.md)
Original file line number Diff line number Diff line change @@ -19,7 +19,7 @@ body = """
1919{% for group, commits in commits | group_by(attribute="group") %}
2020 ### {{ group | upper_first }}
2121 {% for commit in commits %}
22- - {% if commit.scope %}(**{{ commit.scope }}**) {% endif %}{{ commit.message | upper_first }} ([{{ commit.id | truncate(length=7, end="") }}](https://github.com/PyDataBlog/simstring_rs/commit/{{ commit.id }}))
22+ - {% if commit.scope %}(**{{ commit.scope }}**) {% endif %}{{ commit.message | upper_first }} by @{{ commit.author.username }} ([{{ commit.id | truncate(length=7, end="") }}](https://github.com/PyDataBlog/simstring_rs/commit/{{ commit.id }}))
2323 {% endfor %}
2424{% endfor %}
2525
@@ -30,6 +30,9 @@ trim = true
3030footer = """
3131<!-- generated by git-cliff -->
3232"""
33+ postprocessors = [
34+ { pattern = " @(\\ w+)" , replace = " [@$1](https://github.com/$1)" },
35+ ]
3336
3437[git ]
3538# parse the commits based on https://www.conventionalcommits.org
You can’t perform that action at this time.
0 commit comments