Skip to content

Commit 06f7e8b

Browse files
committed
Draft the version the labels imply, not always a patch
1 parent 70ee947 commit 06f7e8b

1 file changed

Lines changed: 7 additions & 2 deletions

File tree

.github/release-drafter.yml

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,11 @@
11
_extends: .github:/.github/release-drafter.yml
2-
name-template: $NEXT_PATCH_VERSION
3-
tag-template: plexus-utils-$NEXT_PATCH_VERSION
2+
3+
# tag-prefix is what lets the drafter parse the version out of the last tag.
4+
# Without it the drafter reads what it can from the tag string, and plexus-i18n
5+
# once drafted 18.0.1 by finding the 18 in its own name.
6+
tag-prefix: plexus-utils-
7+
name-template: $RESOLVED_VERSION
8+
tag-template: plexus-utils-$RESOLVED_VERSION
49
version-template: $MAJOR.$MINOR.$PATCH
510
# plexus-utils maintains parallel release lines (master + plexus-utils-3.x),
611
# so drafts must only pick up commits from the branch being released.

0 commit comments

Comments
 (0)