From eb8446aca4fd24bb42347d67c99f11fde7778fd3 Mon Sep 17 00:00:00 2001 From: Sylwester Lachiewicz Date: Wed, 19 Aug 2026 20:26:49 +0200 Subject: [PATCH 1/2] Draft the version the labels imply, not always a patch --- .github/release-drafter-master.yml | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/.github/release-drafter-master.yml b/.github/release-drafter-master.yml index 6c322a82..dfb7ddcb 100644 --- a/.github/release-drafter-master.yml +++ b/.github/release-drafter-master.yml @@ -1,5 +1,10 @@ _extends: .github:.github/release-drafter.yml -tag-template: plexus-xml-$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-xml- +tag-template: plexus-xml-$RESOLVED_VERSION version-template: 4.$MINOR.$PATCH commitish: master filter-by-commitish: true From bd4d1d55f6e7a7d9647496587426aa3763f3b07e Mon Sep 17 00:00:00 2001 From: Sylwester Lachiewicz Date: Wed, 19 Aug 2026 20:26:51 +0200 Subject: [PATCH 2/2] Draft the version the labels imply, not always a patch --- .github/release-drafter-3.x.yml | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/.github/release-drafter-3.x.yml b/.github/release-drafter-3.x.yml index 2b81e3e6..cd49d406 100644 --- a/.github/release-drafter-3.x.yml +++ b/.github/release-drafter-3.x.yml @@ -1,5 +1,10 @@ _extends: .github:.github/release-drafter.yml -tag-template: plexus-xml-$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-xml- +tag-template: plexus-xml-$RESOLVED_VERSION version-template: 3.$MINOR.$PATCH commitish: 3.x filter-by-commitish: true