aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rwxr-xr-xsrc/tools/git_changelog6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/tools/git_changelog b/src/tools/git_changelog
index a66b64467f7..2fc1565a6c3 100755
--- a/src/tools/git_changelog
+++ b/src/tools/git_changelog
@@ -102,8 +102,9 @@ my %rel_tags;
{
my $commit = $1;
my $tag = $2;
- if ( $tag =~ /^REL\d+_\d+$/
- || $tag =~ /^REL\d+_\d+_\d+$/)
+ if ($tag =~ /^REL_\d+_\d+$/
+ || $tag =~ /^REL\d+_\d+$/
+ || $tag =~ /^REL\d+_\d+_\d+$/)
{
$rel_tags{$commit} = $tag;
}
@@ -198,6 +199,7 @@ for my $branch (@BRANCHES)
$last_tag = $sprout_tags{$commit};
# normalize branch names for making sprout tags
+ $last_tag =~ s/^(REL_\d+).*/$1_BR/;
$last_tag =~ s/^(REL\d+_\d+).*/$1_BR/;
}
$c->{'last_tag'} = $last_tag;