git-next/release-plz.toml
Paul Campbell e34c6e0ef6
All checks were successful
Rust / build (push) Successful in 1m23s
Release Please / Release-plz (push) Successful in 15s
ci/woodpecker/push/cron-docker-builder Pipeline was successful
ci/woodpecker/push/push-next Pipeline was successful
ci/woodpecker/push/tag-created Pipeline was successful
ci/woodpecker/cron/cron-docker-builder Pipeline was successful
ci/woodpecker/cron/push-next Pipeline was successful
ci/woodpecker/cron/tag-created Pipeline was successful
fix: Revert "fix: release-plz generated PR changelog"
This reverts commit f5a3524cb9.
2024-08-10 18:38:14 +01:00

36 lines
1.2 KiB
TOML

[workspace]
# Disable git releases for all packages by default
git_release_enable = false
# Disable git tags for all packages by default
git_tag_enable = false
# set the path of all the crates to the changelog to the root of the repository
changelog_path = "./CHANGELOG.md"
[[package]]
name = "git-next"
# (Optional) Customize the git tag name to remove the `my_main_package` prefix.
git_tag_name = "v{{ version }}"
# Enable git tags for this package
git_tag_enable = true
# Enable git releases for this package
git_release_enable = true
[changelog]
body = """
## `{{ package }}` - [{{ version | trim_start_matches(pat="v") }}]{%- 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 -%}
"""