Skip to content

Commit 0e3c16c

Browse files
committed
Experiment with release drafter.
1 parent a16b7db commit 0e3c16c

File tree

2 files changed

+43
-14
lines changed

2 files changed

+43
-14
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

.github/workflows/release-drafter.yml

Lines changed: 4 additions & 0 deletions
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:
@@ -20,5 +22,7 @@ jobs:
2022
with:
2123
# (Optional) specify config name to use, relative to .github/. Default: release-drafter.yml
2224
config-name: release-drafter-config.yml
25+
# (Optional) specify the name of the release notes to be created. Default: Release Notes
26+
name-template: '6.0.0b2'
2327
env:
2428
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 commit comments

Comments
 (0)