Skip to content

Commit 4f72b92

Browse files
authored
fix labels
1 parent fc9e561 commit 4f72b92

File tree

1 file changed

+9
-23
lines changed

1 file changed

+9
-23
lines changed

.github/release_drafter_config.yml

+9-23
Original file line numberDiff line numberDiff line change
@@ -1,41 +1,27 @@
11
name-template: 'v$RESOLVED_VERSION'
22
tag-template: 'v$RESOLVED_VERSION'
33

4-
# Used to group together pull requests. See the docs for more info, but we don't need this as we have our own custom format
5-
#categories:
6-
# - title: '🚀 Features'
7-
# labels:
8-
# - 'feature'
9-
# - 'enhancement'
10-
# - title: '🐛 Bug Fixes'
11-
# labels:
12-
# - 'fix'
13-
# - 'bugfix'
14-
# - 'bug'
15-
# - title: '🧰 Maintenance'
16-
# label: 'chore'
17-
184
change-template: '- $TITLE (#$NUMBER)'
195

206
# Only add to the draft release when a PR has one of these labels
217
include-labels:
22-
- 'major'
23-
- 'minor'
24-
- 'patch'
25-
- 'chore'
8+
- 'Type: Major'
9+
- 'Type: Minor'
10+
- 'Type: Patch'
11+
- 'Type: Chore'
2612

2713
# Here is how we determine what version the release would be, by using labels. Eg when "minor" is used, the drafter knows to bump up to a new minor version
2814
version-resolver:
2915
major:
3016
labels:
31-
- 'major'
17+
- 'Type: Major'
3218
minor:
3319
labels:
34-
- 'minor'
20+
- 'Type: Minor'
3521
patch:
3622
labels:
37-
- 'patch'
38-
- 'chore' # allow our chore PR's to just be patches too
23+
- 'Type: Patch'
24+
- 'Type: Chore' # allow our chore PR's to just be patches too
3925
default: patch
4026

4127
# What our release will look like. If no draft has been created, then this will be used, otherwise $CHANGES just gets addedd
@@ -54,4 +40,4 @@ template: |
5440
5541
__Updates__
5642
57-
$CHANGES
43+
$CHANGES

0 commit comments

Comments
 (0)