11[workspace ]
2+ changelog_path =" ./CHANGELOG.md"
23dependencies_update = false
34publish_timeout = " 30m"
45git_release_enable = false
56git_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- """
157
168[changelog ]
179commit_parsers = [
@@ -26,6 +18,40 @@ commit_parsers = [
2618 { message = " ^security" , group = " security" },
2719 { message = " ^.*" , group = " other" },
2820]
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+ """
2955
3056[[package ]]
3157name = " bevy_mod_scripting"
@@ -37,14 +63,6 @@ git_tag_enable = true
3763git_tag_name = " v{{ version }}"
3864git_release_name = " v{{ version }}"
3965
40- changelog_include = [
41- " bevy_mod_scripting_lua" ,
42- " bevy_mod_scripting_core" ,
43- " bevy_mod_scripting_rhai" ,
44- # "bevy_mod_scripting_rune",
45- " bevy_mod_scripting_functions" ,
46- ]
47-
4866[[package ]]
4967name = " bevy_mod_scripting_lua"
5068publish_features = [" lua54" ]
@@ -87,7 +105,6 @@ git_tag_name = "v{{ version }}-ladfile_builder"
87105git_release_name = " v{{ version }}-ladfile_builder"
88106
89107[[package ]]
90- changelog_update = true
91108name = " mdbook_lad_preprocessor"
92109git_release_enable = true
93110git_release_latest = false
0 commit comments