mirror of
https://codeberg.org/JasterV/granc.git
synced 2026-04-26 18:40:05 +00:00
22 lines
838 B
TOML
22 lines
838 B
TOML
[workspace]
|
|
# set the path of all the crates to the changelog to the root of the repository
|
|
changelog_path = "./CHANGELOG.md"
|
|
pr_draft = true
|
|
pr_labels = ["release"]
|
|
pr_branch_prefix = "release-"
|
|
|
|
[changelog]
|
|
body = """
|
|
|
|
## `{{ package }}` - [{{ version }}]{%- if release_link -%}({{ release_link }}){% endif %} - {{ timestamp | date(format="%Y-%m-%d") }}
|
|
{% for group, commits in commits | group_by(attribute="group") %}
|
|
### {{ group | upper_first }}
|
|
{% for commit in commits %}
|
|
{%- if commit.scope -%}
|
|
- *({{commit.scope}})* {% if commit.breaking %}[**breaking**] {% endif %}{{ commit.message }}{%- if commit.links %} ({% for link in commit.links %}[{{link.text}}]({{link.href}}) {% endfor -%}){% endif %}
|
|
{% else -%}
|
|
- {% if commit.breaking %}[**breaking**] {% endif %}{{ commit.message }}
|
|
{% endif -%}
|
|
{% endfor -%}
|
|
{% endfor -%}
|
|
"""
|