From 06f7e8b87cd3159a26917300bbbac9f832f919f9 Mon Sep 17 00:00:00 2001 From: Sylwester Lachiewicz Date: Wed, 19 Aug 2026 20:26:27 +0200 Subject: [PATCH] Draft the version the labels imply, not always a patch --- .github/release-drafter.yml | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/.github/release-drafter.yml b/.github/release-drafter.yml index 8b1b95d6..c287cc72 100644 --- a/.github/release-drafter.yml +++ b/.github/release-drafter.yml @@ -1,6 +1,11 @@ _extends: .github:/.github/release-drafter.yml -name-template: $NEXT_PATCH_VERSION -tag-template: plexus-utils-$NEXT_PATCH_VERSION + +# tag-prefix is what lets the drafter parse the version out of the last tag. +# Without it the drafter reads what it can from the tag string, and plexus-i18n +# once drafted 18.0.1 by finding the 18 in its own name. +tag-prefix: plexus-utils- +name-template: $RESOLVED_VERSION +tag-template: plexus-utils-$RESOLVED_VERSION version-template: $MAJOR.$MINOR.$PATCH # plexus-utils maintains parallel release lines (master + plexus-utils-3.x), # so drafts must only pick up commits from the branch being released.