Skip to content

Commit 5ff3ffc

Browse files
authored
Improve auto-generation of release notes (#540)
1 parent 02198fe commit 5ff3ffc

File tree

1 file changed

+10
-2
lines changed

1 file changed

+10
-2
lines changed

.github/release-drafter.yml

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
name-template: "$NEXT_PATCH_VERSION"
2-
tag-template: "v$NEXT_PATCH_VERSION"
1+
name-template: "$RESOLVED_VERSION"
2+
tag-template: "v$RESOLVED_VERSION"
33
categories:
44
- title: "⚠️ Breaking Changes"
55
label: "⚠️ Breaking"
@@ -11,7 +11,15 @@ categories:
1111
label: "📚 Docs"
1212
- title: "🏠 Housekeeping"
1313
label: "🏠 Housekeeping"
14+
version-resolver:
15+
minor:
16+
labels:
17+
- "⚠️ Breaking"
18+
- "✨ Feature"
19+
default: patch
1420
change-template: "- $TITLE (#$NUMBER) @$AUTHOR"
1521
no-changes-template: "- No changes"
1622
template: |
1723
$CHANGES
24+
25+
**Full Changelog:** https://github.com/$OWNER/$REPOSITORY/compare/$PREVIOUS_TAG...v$RESOLVED_VERSION

0 commit comments

Comments
 (0)