You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@maven.apache.org by gn...@apache.org on 2025/10/14 15:39:55 UTC
(maven-gh-actions-shared) branch main updated: Remove branch prefixes (#205)
This is an automated email from the ASF dual-hosted git repository.
gnodet pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/maven-gh-actions-shared.git
The following commit(s) were added to refs/heads/main by this push:
new 7522663 Remove branch prefixes (#205)
7522663 is described below
commit 75226633af5d97b4b54609dcb800c21bdb5e49a6
Author: Guillaume Nodet <gn...@gmail.com>
AuthorDate: Tue Oct 14 17:39:51 2025 +0200
Remove branch prefixes (#205)
---
.github/release-drafter.yml | 8 ++++++--
1 file changed, 6 insertions(+), 2 deletions(-)
diff --git a/.github/release-drafter.yml b/.github/release-drafter.yml
index b32373a..dcae296 100644
--- a/.github/release-drafter.yml
+++ b/.github/release-drafter.yml
@@ -95,5 +95,9 @@ template: |
$CHANGES
replacers:
- - search: '/\[(.*)-(\d+)\]*\s*-*\s*/g'
- replace: '[[$1-$2]](https://issues.apache.org/jira/browse/$1-$2) - '
+ # Strip backport branch prefixes like [maven-4.0.x], [maven-3.x], etc.
+ - search: '/\[maven(-[a-z0-9.]+)+\]\s*-?\s*/g'
+ replace: ''
+ # Convert JIRA ticket references to links (but not maven branch prefixes)
+ - search: '/\[([A-Z]+)-([0-9]+)\]\s*-?\s*/g'
+ replace: '[[$1-$2]](https://issues.apache.org/jira/browse/$1-$2) - '