This is an automated email from the ASF dual-hosted git repository. gnodet pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/maven.git
The following commit(s) were added to refs/heads/master by this push: new d09dd11a6d Remove branch prefixes when using release drafter (#11247) d09dd11a6d is described below commit d09dd11a6d0c66807acd5f4678dd4d8ed7a18cb0 Author: Guillaume Nodet <gno...@gmail.com> AuthorDate: Fri Oct 10 14:53:11 2025 +0200 Remove branch prefixes when using release drafter (#11247) --- .github/release-drafter-3.x.yml | 9 +++++++++ .github/release-drafter.yml | 9 +++++++++ 2 files changed, 18 insertions(+) diff --git a/.github/release-drafter-3.x.yml b/.github/release-drafter-3.x.yml index da2e7a556c..ce5253fc5c 100644 --- a/.github/release-drafter-3.x.yml +++ b/.github/release-drafter-3.x.yml @@ -17,3 +17,12 @@ _extends: maven-gh-actions-shared:.github/release-drafter.yml tag-template: maven-$RESOLVED_VERSION + +# Override replacers to strip backport branch prefixes and handle JIRA links +replacers: + # Strip backport branch prefixes like [maven-4.0.x], [maven-3.x], etc. + - search: '/^\[maven-[\d\.x-]+\]\s*-?\s*/g' + replace: '' + # Convert JIRA ticket references to links + - search: '/\[(.*)-(\d+)\]*\s*-*\s*/g' + replace: '[[$1-$2]](https://issues.apache.org/jira/browse/$1-$2) - ' diff --git a/.github/release-drafter.yml b/.github/release-drafter.yml index add27b1def..a8a1049135 100644 --- a/.github/release-drafter.yml +++ b/.github/release-drafter.yml @@ -20,3 +20,12 @@ tag-template: maven-$RESOLVED_VERSION include-pre-releases: true prerelease: true + +# Override replacers to strip backport branch prefixes and handle JIRA links +replacers: + # Strip backport branch prefixes like [maven-4.0.x], [maven-3.x], etc. + - search: '/^\[maven-[\d\.x-]+\]\s*-?\s*/g' + replace: '' + # Convert JIRA ticket references to links + - search: '/\[(.*)-(\d+)\]*\s*-*\s*/g' + replace: '[[$1-$2]](https://issues.apache.org/jira/browse/$1-$2) - '