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 0162e9833c Fix broken release drafter config
0162e9833c is described below

commit 0162e9833c8e7b8b3512bf790cb0e505c3640417
Author: Guillaume Nodet <[email protected]>
AuthorDate: Fri Oct 10 15:07:10 2025 +0200

    Fix broken release drafter config
---
 .github/release-drafter-3.x.yml | 4 ++--
 .github/release-drafter.yml     | 4 ++--
 2 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/.github/release-drafter-3.x.yml b/.github/release-drafter-3.x.yml
index ce5253fc5c..07e8c2f980 100644
--- a/.github/release-drafter-3.x.yml
+++ b/.github/release-drafter-3.x.yml
@@ -23,6 +23,6 @@ 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'
+  # Convert JIRA ticket references to links (but not maven branch prefixes)
+  - search: '/\[([A-Z]+)-(\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 a8a1049135..f47098a19e 100644
--- a/.github/release-drafter.yml
+++ b/.github/release-drafter.yml
@@ -26,6 +26,6 @@ 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'
+  # Convert JIRA ticket references to links (but not maven branch prefixes)
+  - search: '/\[([A-Z]+)-(\d+)\]\s*-?\s*/g'
     replace: '[[$1-$2]](https://issues.apache.org/jira/browse/$1-$2) - '

Reply via email to