| 1 | [remote.github] |
| 2 | owner = "y2w8" |
| 3 | repo = "nmrs-tui" |
| 4 | |
| 5 | [changelog] |
| 6 | header = """ |
| 7 | # Changelog |
| 8 | All notable changes to the `nmrs-tui` crate will be documented in this file. |
| 9 | |
| 10 | ## [Unreleased] |
| 11 | """ |
| 12 | body = """ |
| 13 | {% if version -%} |
| 14 | ## [{{ version | trim_start_matches(pat="v") }}] - {{ timestamp | date(format="%Y-%m-%d") }} |
| 15 | {% endif -%} |
| 16 | {% for group, commits in commits | group_by(attribute="group") %} |
| 17 | ### {{ group | striptags | trim }} |
| 18 | {% for commit in commits -%} |
| 19 | - {{ commit.message | split(pat="\n") | first | upper_first | trim }} \ |
| 20 | ([{{ commit.id | truncate(length=7, end="") }}](https://github.com/y2w8/nmrs-tui/commit/{{ commit.id }})), \ |
| 21 | by @{{ commit.remote.username | default(value="y2w8") }} |
| 22 | {% endfor %} |
| 23 | {% endfor -%} |
| 24 | """ |
| 25 | trim = true |
| 26 | |
| 27 | [git] |
| 28 | conventional_commits = true |
| 29 | filter_unconventional = false |
| 30 | commit_parsers = [ |
| 31 | { message = "^feat", group = "<!-- 0 -->Added" }, |
| 32 | { message = "^fix", group = "<!-- 1 -->Fixed" }, |
| 33 | { message = "^refactor", group = "<!-- 2 -->Changed" }, |
| 34 | { message = "^chore: release", skip = true }, |
| 35 | { message = ".*", group = "<!-- 3 -->Other" }, |
| 36 | ] |
