Skip to content

Commit 2d4143e

Browse files
authored
Add version resolver to Release Drafter
1 parent c3152b6 commit 2d4143e

File tree

1 file changed

+19
-2
lines changed

1 file changed

+19
-2
lines changed

.github/release-drafter.yml

Lines changed: 19 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
name-template: "$NEXT_PATCH_VERSION"
2-
tag-template: "$NEXT_PATCH_VERSION"
1+
name-template: "$RESOLVED_VERSION"
2+
tag-template: "$RESOLVED_VERSION"
33

44
categories:
55
- title: "Added"
@@ -26,3 +26,20 @@ template: |
2626
## Changes
2727
2828
$CHANGES
29+
30+
version-resolver:
31+
major:
32+
labels:
33+
- "changelog: Removed"
34+
minor:
35+
labels:
36+
- "changelog: Added"
37+
- "changelog: Changed"
38+
- "changelog: Deprecated"
39+
- "enhancement"
40+
41+
patch:
42+
labels:
43+
- "changelog: Fixed"
44+
- "bug"
45+
default: minor

0 commit comments

Comments
 (0)