1
1
[workspace ]
2
+ changelog_path =" ./CHANGELOG.md"
2
3
dependencies_update = false
3
4
publish_timeout = " 30m"
4
5
git_release_enable = false
5
6
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
- """
15
7
16
8
[changelog ]
17
9
commit_parsers = [
@@ -26,6 +18,40 @@ commit_parsers = [
26
18
{ message = " ^security" , group = " security" },
27
19
{ message = " ^.*" , group = " other" },
28
20
]
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
+ """
29
55
30
56
[[package ]]
31
57
name = " bevy_mod_scripting"
@@ -37,14 +63,6 @@ git_tag_enable = true
37
63
git_tag_name = " v{{ version }}"
38
64
git_release_name = " v{{ version }}"
39
65
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
-
48
66
[[package ]]
49
67
name = " bevy_mod_scripting_lua"
50
68
publish_features = [" lua54" ]
@@ -87,7 +105,6 @@ git_tag_name = "v{{ version }}-ladfile_builder"
87
105
git_release_name = " v{{ version }}-ladfile_builder"
88
106
89
107
[[package ]]
90
- changelog_update = true
91
108
name = " mdbook_lad_preprocessor"
92
109
git_release_enable = true
93
110
git_release_latest = false
0 commit comments