1 # git-cliff ~ configuration file
2 # https://git-cliff.org/docs/configuration
5 # A Tera template to be rendered as the changelog's header.
6 # See https://keats.github.io/tera/docs/#introduction
9 All notable changes to this project will be documented in this file.
11 The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
12 and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).\n
14 # A Tera template to be rendered for each release in the changelog.
15 # See https://keats.github.io/tera/docs/#introduction
18 ## [{{ version | trim_start_matches(pat="v") }}] - {{ timestamp | date(format="%Y-%m-%d") }}
22 {% for group, commits in commits | group_by(attribute="group") %}
23 ### {{ group | upper_first }}
24 {% for commit in commits %}
25 - {{ commit.message | split(pat="\n") | first | upper_first | trim }}\
29 # A Tera template to be rendered as the changelog's footer.
30 # See https://keats.github.io/tera/docs/#introduction
32 {% for release in releases -%}
33 {% if release.version -%}
34 {% if release.previous.version -%}
35 [{{ release.version | trim_start_matches(pat="v") }}]: \
36 https://luflow.net/git-repos/flow-texpack.git\
37 /compare/{{ release.previous.version }}..{{ release.version }}
39 [{{ release.version | trim_start_matches(pat="v") }}]: \
40 https://luflow.net/git-repos/flow-texpack.git\
41 /tree/{{ release.version }}
44 [unreleased]: https://luflow.net/git-repos/flow-texpack.git\
45 /compare/{{ release.previous.version }}..HEAD
48 <!-- generated by git-cliff -->
50 # Remove leading and trailing whitespaces from the changelog's body.
54 # Parse commits according to the conventional commits specification.
55 # See https://www.conventionalcommits.org
56 conventional_commits = true
57 # Exclude commits that do not match the conventional commits specification.
58 filter_unconventional = false
59 # An array of regex based parsers for extracting data from the commit message.
60 # Assigns commits to groups.
61 # Optionally sets the commit's scope and can decide to exclude commits from further processing.
63 { message = "^[a|A]dd", group = "Added" },
64 { message = "^[s|S]upport", group = "Added" },
65 { message = "^[r|R]emove", group = "Removed" },
66 { message = "^.*: add", group = "Added" },
67 { message = "^.*: support", group = "Added" },
68 { message = "^.*: remove", group = "Removed" },
69 { message = "^.*: delete", group = "Removed" },
70 { message = "^test", group = "Fixed" },
71 { message = "^fix", group = "Fixed" },
72 { message = "^.*: fix", group = "Fixed" },
73 { message = "^.*", group = "Changed" },
75 # Prevent commits that are breaking from being excluded by commit parsers.
76 filter_commits = false
77 # Order releases topologically instead of chronologically.
79 # Order of commits in each group/release within the changelog.
80 # Allowed values: newest, oldest
81 sort_commits = "oldest"