Skip to content

Commit 37da23a

Browse files
committed
Experiment with release drafter.
1 parent a16b7db commit 37da23a

File tree

2 files changed

+35
-12
lines changed

2 files changed

+35
-12
lines changed

.github/release-drafter-config.yml

Lines changed: 34 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,27 @@
1-
name-template: '$NEXT_MINOR_VERSION'
2-
tag-template: 'v$NEXT_MINOR_VERSION'
1+
name-template: '5.2.1'
2+
tag-template: 'v5.2.1'
3+
4+
pre-release: true
5+
6+
version-resolver:
7+
major:
8+
labels:
9+
- 'type: breakingchanges'
10+
minor:
11+
labels:
12+
- 'type: feature'
13+
- 'type: deprecation'
14+
patch:
15+
labels:
16+
- 'type: bug'
17+
- 'type: maintenance'
18+
- 'type: update-docs'
19+
- 'type: dependencies'
20+
- 'type: security'
21+
322
filter-by-commitish: true
4-
commitish: master
23+
commitish: 6.0
24+
525
autolabeler:
626
- label: 'maintenance'
727
files:
@@ -17,32 +37,34 @@ autolabeler:
1737
branch:
1838
- '/feature-.+'
1939
categories:
20-
- title: '🔥 Breaking Changes'
40+
- title: '🚀 New Features'
2141
labels:
22-
- 'breakingchange'
42+
- 'feature'
2343
- title: '🧪 Experimental Features'
2444
labels:
2545
- 'experimental'
26-
- title: '🚀 New Features'
46+
- title: '🔥 Breaking Changes'
2747
labels:
28-
- 'feature'
29-
- 'enhancement'
48+
- 'breakingchange'
49+
- title: '⚠️ Deprecations'
50+
labels:
51+
- 'deprecation'
3052
- title: '🐛 Bug Fixes'
3153
labels:
32-
- 'fix'
3354
- 'bugfix'
3455
- 'bug'
35-
- 'BUG'
3656
- title: '🧰 Maintenance'
3757
labels:
3858
- 'maintenance'
3959
- 'dependencies'
40-
- 'documentation'
41-
- 'docs'
4260
- 'testing'
61+
- 'techdebt'
62+
- 'docs-review'
63+
- 'update-docs'
4364
change-template: '- $TITLE (#$NUMBER)'
4465
exclude-labels:
4566
- 'skip-changelog'
67+
4668
template: |
4769
# Changes
4870

.github/workflows/release-drafter.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ on:
55
# branches to consider in the event; optional, defaults to all
66
branches:
77
- master
8+
- ps_rearrange_release_notes_template
89

910
permissions: {}
1011
jobs:

0 commit comments

Comments
 (0)