# https://git-cliff.org/docs/configuration
#
# Lines starting with "#" are comments.
# Configuration options are organized into tables and keys.
# See documentation for more information on available options.
[]
# changelog header
= """
# Changelog
"""
# template for the changelog body
# https://tera.netlify.app/docs
= """
{% if version %}\
## [{{ version | trim_start_matches(pat="v") }}] - {{ timestamp | date(format="%Y-%m-%d") }}
{% else %}\
## [unreleased]
{% endif %}\
{% for commit in commits %}
{{ commit.message }}
{% endfor %}
"""
# remove the leading and trailing whitespace from the template
= true
# changelog footer
= """
<!-- generated by git-cliff -->
"""
[]
# parse the commits based on https://www.conventionalcommits.org
= true
# filter out the commits that are not conventional
= false
# process each line of a commit as an individual commit
= false
# regex for preprocessing the commit messages
= [
{ = "\\(#([0-9]+)\\)", = "[#${1}](https://github.com/knox-networks/bigerror/pull/${1})" },
# { pattern = '\((\w+\s)?#([0-9]+)\)', replace = "([#${2}](https://github.com/orhun/git-cliff/issues/${2}))"}, # replace issue numbers
]
# protect breaking changes from being skipped due to matching a skipping commit_parser
= false
# filter out the commits that are not matched by commit parsers
= false
# glob pattern for matching git tags
= "v[0-9]*"
# regex for skipping tags
= "v0.1.0-beta.1"
# regex for ignoring tags
= ""
# sort the tags topologically
= false
# sort the commits inside sections by oldest/newest order
= "oldest"
# limit the number of commits included in the changelog.
# limit_commits = 42