Skip to content

Commit 4324d2a

Browse files
committed
Experiment with release drafter.
1 parent a16b7db commit 4324d2a

File tree

3 files changed

+122
-15
lines changed

3 files changed

+122
-15
lines changed

.github/release-drafter-config.yml

Lines changed: 39 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,28 @@
1-
name-template: '$NEXT_MINOR_VERSION'
2-
tag-template: 'v$NEXT_MINOR_VERSION'
1+
name-template: '$NEXT_PATCH_VERSION'
2+
tag-template: 'v$NEXT_PATCH_VERSION'
3+
4+
35
filter-by-commitish: true
4-
commitish: master
6+
commitish: 6.0
7+
8+
pre-release: true
9+
10+
version-resolver:
11+
major:
12+
labels:
13+
- 'breakingchange'
14+
minor:
15+
labels:
16+
- 'feature'
17+
- 'deprecation'
18+
patch:
19+
labels:
20+
- 'bug'
21+
- 'maintenance'
22+
- 'update-docs'
23+
- 'dependencies'
24+
- 'security'
25+
526
autolabeler:
627
- label: 'maintenance'
728
files:
@@ -16,33 +37,37 @@ autolabeler:
1637
- label: 'feature'
1738
branch:
1839
- '/feature-.+'
40+
1941
categories:
20-
- title: '🔥 Breaking Changes'
42+
- title: '🚀 New Features'
2143
labels:
22-
- 'breakingchange'
44+
- 'feature'
2345
- title: '🧪 Experimental Features'
2446
labels:
2547
- 'experimental'
26-
- title: '🚀 New Features'
48+
- title: '🔥 Breaking Changes'
2749
labels:
28-
- 'feature'
29-
- 'enhancement'
50+
- 'breakingchange'
51+
- title: '⚠️ Deprecations'
52+
labels:
53+
- 'deprecation'
3054
- title: '🐛 Bug Fixes'
3155
labels:
32-
- 'fix'
3356
- 'bugfix'
3457
- 'bug'
35-
- 'BUG'
3658
- title: '🧰 Maintenance'
3759
labels:
3860
- 'maintenance'
3961
- 'dependencies'
40-
- 'documentation'
41-
- 'docs'
42-
- 'testing'
43-
change-template: '- $TITLE (#$NUMBER)'
62+
- 'techdebt'
63+
- 'docs-review'
64+
- 'update-docs'
65+
66+
change-template: '- $TITLE $AUTHOR (#$NUMBER)'
67+
4468
exclude-labels:
4569
- 'skip-changelog'
70+
4671
template: |
4772
# Changes
4873
Lines changed: 80 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,80 @@
1+
name-template: '$NEXT_PATCH_VERSION'
2+
tag-template: 'v$NEXT_PATCH_VERSION'
3+
4+
5+
filter-by-commitish: true
6+
commitish: 6.0
7+
8+
pre-release: true
9+
10+
version-resolver:
11+
major:
12+
labels:
13+
- 'breakingchange'
14+
minor:
15+
labels:
16+
- 'feature'
17+
- 'deprecation'
18+
patch:
19+
labels:
20+
- 'bug'
21+
- 'maintenance'
22+
- 'update-docs'
23+
- 'dependencies'
24+
- 'security'
25+
26+
autolabeler:
27+
- label: 'maintenance'
28+
files:
29+
- '*.md'
30+
- '.github/*'
31+
- label: 'bug'
32+
branch:
33+
- '/bug-.+'
34+
- label: 'maintenance'
35+
branch:
36+
- '/maintenance-.+'
37+
- label: 'feature'
38+
branch:
39+
- '/feature-.+'
40+
41+
categories:
42+
- title: '🚀 New Features'
43+
labels:
44+
- 'feature'
45+
- title: '🧪 Experimental Features'
46+
labels:
47+
- 'experimental'
48+
- title: '🔥 Breaking Changes'
49+
labels:
50+
- 'breakingchange'
51+
- title: '⚠️ Deprecations'
52+
labels:
53+
- 'deprecation'
54+
- title: '🐛 Bug Fixes'
55+
labels:
56+
- 'bugfix'
57+
- 'bug'
58+
- title: '🧰 Maintenance'
59+
labels:
60+
- 'maintenance'
61+
- 'dependencies'
62+
- 'techdebt'
63+
- 'docs-review'
64+
- 'update-docs'
65+
66+
change-template: '- $TITLE $AUTHOR (#$NUMBER)'
67+
68+
exclude-labels:
69+
- 'skip-changelog'
70+
71+
template: |
72+
# Changes
73+
74+
$CHANGES
75+
76+
## Contributors
77+
We'd like to thank all the contributors who worked on this release!
78+
79+
$CONTRIBUTORS
80+

.github/workflows/release-drafter.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,8 @@ on:
55
# branches to consider in the event; optional, defaults to all
66
branches:
77
- master
8+
- ps_rearrange_release_notes_template
9+
- 6.0
810

911
permissions: {}
1012
jobs:
@@ -19,6 +21,6 @@ jobs:
1921
- uses: release-drafter/release-drafter@v6
2022
with:
2123
# (Optional) specify config name to use, relative to .github/. Default: release-drafter.yml
22-
config-name: release-drafter-config.yml
24+
config-name: tmp-release-drafter-config.yml
2325
env:
2426
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 commit comments

Comments
 (0)