[changelog] body = """ca-certificates-st {% if version %}({{ version | trim_start_matches(pat="v") }}-1){% else %}unreleased{% endif %} stable; urgency=medium {% for commit in commits %} * {% if commit.scope %}*({{ commit.scope }})* {% endif %}{% if commit.breaking %}[**breaking**] {% endif %}{{ commit.message }} {%- endfor %} -- {% set release = commits | last %}{{ release.author.name }} <{{ release.author.email }}> {{ release.author.timestamp | date(format="%a, %d %b %Y %H:%M:%S +0000", timezone="UTC") }}\n """ trim = false postprocessors = [] output = "debian/changelog" [git] conventional_commits = false filter_unconventional = false split_commits = false commit_preprocessors = [ # Replace issue numbers #{ pattern = '\((\w+\s)?#([0-9]+)\)', replace = "([#${2}](/issues/${2}))"}, # Check spelling of the commit with https://github.com/crate-ci/typos # If the spelling is incorrect, it will be automatically fixed. #{ pattern = '.*', replace_command = 'typos --write-changes -' }, ] commit_parsers = [] filter_commits = false topo_order = false sort_commits = "oldest"