Skip to content

Commit

Permalink
Add version resolver to Release Drafter
Browse files Browse the repository at this point in the history
  • Loading branch information
hugovk authored Oct 19, 2020
1 parent c3152b6 commit 2d4143e
Showing 1 changed file with 19 additions and 2 deletions.
21 changes: 19 additions & 2 deletions .github/release-drafter.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
name-template: "$NEXT_PATCH_VERSION"
tag-template: "$NEXT_PATCH_VERSION"
name-template: "$RESOLVED_VERSION"
tag-template: "$RESOLVED_VERSION"

categories:
- title: "Added"
Expand All @@ -26,3 +26,20 @@ template: |
## Changes
$CHANGES
version-resolver:
major:
labels:
- "changelog: Removed"
minor:
labels:
- "changelog: Added"
- "changelog: Changed"
- "changelog: Deprecated"
- "enhancement"

patch:
labels:
- "changelog: Fixed"
- "bug"
default: minor

0 comments on commit 2d4143e

Please sign in to comment.