Skip to content

Commit 4b64c2b

Browse files
authored
chore: Update release-plz.toml
1 parent dfc2695 commit 4b64c2b

File tree

1 file changed

+20
-35
lines changed

1 file changed

+20
-35
lines changed

release-plz.toml

+20-35
Original file line numberDiff line numberDiff line change
@@ -1,57 +1,33 @@
11
[workspace]
2-
changelog_path="./CHANGELOG.md"
32
dependencies_update = false
43
publish_timeout = "30m"
54
git_release_enable = false
65
git_tag_enable = false
6+
git_release_body = """
7+
{{ changelog }}
8+
{% if remote.contributors %}
9+
### Contributors
10+
{% for contributor in remote.contributors | unique(attribute="username") %}
11+
* @{{ contributor.username }}
12+
{% endfor %}
13+
{% endif %}
14+
"""
715

816
[changelog]
917
commit_parsers = [
1018
# dont include chore changes in changelog
1119
{ message = "^chore.*", skip = true },
1220
{ message = "^test.*", skip = true },
1321
{ message = "^docs.*", skip = true },
22+
{ message = "^.*SKIP_CHANGELOG.*$", skip = true},
23+
{ message = "^refactor", group = "refactored"},
1424
{ message = "^feat", group = "added" },
1525
{ message = "^changed", group = "changed" },
1626
{ message = "^deprecated", group = "deprecated" },
1727
{ message = "^fix", group = "fixed" },
1828
{ message = "^security", group = "security" },
1929
{ message = "^.*", group = "other" },
2030
]
21-
body = """
22-
## [{{ version | trim_start_matches(pat="v") }}]\
23-
{%- if release_link -%}\
24-
({{ release_link }})\
25-
{% endif %} \
26-
- {{ timestamp | date(format="%Y-%m-%d") }}
27-
{% for group, commits in commits | group_by(attribute="group") %}
28-
### {{ group | upper_first }}
29-
30-
{% for commit in commits %}
31-
{%- if commit.scope -%}
32-
- *({{commit.scope}})* {% if commit.breaking %}[**breaking**] {% endif %}\
33-
{{ commit.message }}{{ self::username(commit=commit) }}\
34-
{%- if commit.links %} \
35-
({% for link in commit.links %}[{{link.text}}]({{link.href}}) {% endfor -%})\
36-
{% endif %}
37-
{% else -%}
38-
- {% if commit.breaking %}[**breaking**] {% endif %}{{ commit.message }}{{ self::username(commit=commit) }}{{ self::pr(commit=commit) }}
39-
{% endif -%}
40-
{% endfor -%}
41-
{% endfor %}
42-
{%- if remote.contributors %}
43-
### Contributors
44-
{% for contributor in remote.contributors %}
45-
* @{{ contributor.username }}
46-
{%- endfor %}
47-
{% endif -%}
48-
{%- macro username(commit) -%}
49-
{% if commit.remote.username %} (by @{{ commit.remote.username }}){% endif -%}
50-
{% endmacro -%}
51-
{%- macro pr(commit) -%}
52-
{% if commit.remote.pr_number %} - #{{ commit.remote.pr_number }}{% endif -%}
53-
{% endmacro -%}
54-
"""
5531

5632
[[package]]
5733
name = "bevy_mod_scripting"
@@ -63,6 +39,14 @@ git_tag_enable = true
6339
git_tag_name = "v{{ version }}"
6440
git_release_name = "v{{ version }}"
6541

42+
changelog_include = [
43+
"bevy_mod_scripting_lua",
44+
"bevy_mod_scripting_core",
45+
"bevy_mod_scripting_rhai",
46+
# "bevy_mod_scripting_rune",
47+
"bevy_mod_scripting_functions",
48+
]
49+
6650
[[package]]
6751
name = "bevy_mod_scripting_lua"
6852
publish_features = ["lua54"]
@@ -105,6 +89,7 @@ git_tag_name = "v{{ version }}-ladfile_builder"
10589
git_release_name = "v{{ version }}-ladfile_builder"
10690

10791
[[package]]
92+
changelog_update = true
10893
name = "mdbook_lad_preprocessor"
10994
git_release_enable = true
11095
git_release_latest = false

0 commit comments

Comments
 (0)