[changelog]
trim = true
body = """
## [{{ version | trim_start_matches(pat="v") }}]\
{% if previous.version %}(https://github.com/skillsynchq/txcript/compare/{{ previous.version }}...{{ version }}){% endif %} \
- {{ timestamp | date(format="%Y-%m-%d") }}
{% for group, commits in commits | group_by(attribute="group") %}
### {{ group | striptags | trim }}
{% for commit in commits %}
- {% if commit.breaking %}**Breaking:** {% endif %}{{ commit.message | split(pat="\n") | first | upper_first }}\
{% endfor %}
{% endfor %}
"""
postprocessors = [
{ pattern = '\(#([0-9]+)\)', replace = "([#${1}](https://github.com/skillsynchq/txcript/pull/${1}))" },
]
[git]
conventional_commits = true
filter_unconventional = false
split_commits = false
commit_parsers = [
{ message = "^chore\\(release\\)", skip = true },
{ message = "^feat", group = "<!-- 0 -->Added" },
{ message = "^fix", group = "<!-- 2 -->Fixed" },
{ message = "^perf", group = "<!-- 1 -->Changed" },
{ message = "^refactor", group = "<!-- 1 -->Changed" },
{ message = "^revert", group = "<!-- 3 -->Removed" },
{ message = "^(chore|ci|docs|test|build|style)", skip = true },
{ message = ".*", group = "<!-- 1 -->Changed" },
]
filter_commits = false
tag_pattern = "v[0-9].*"
topo_order = false
sort_commits = "oldest"
[bump]
features_always_bump_minor = true
breaking_always_bump_major = false
initial_tag = "v0.1.0"