Skip to content

Commit 4736d74

Browse files
committed
Adjust git_changelog for new-style release tags.
It wasn't on board with REL_n_n format.
1 parent 11d8d72 commit 4736d74

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

src/tools/git_changelog

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -102,8 +102,9 @@ my %rel_tags;
102102
{
103103
my $commit = $1;
104104
my $tag = $2;
105-
if ( $tag =~ /^REL\d+_\d+$/
106-
|| $tag =~ /^REL\d+_\d+_\d+$/)
105+
if ($tag =~ /^REL_\d+_\d+$/
106+
|| $tag =~ /^REL\d+_\d+$/
107+
|| $tag =~ /^REL\d+_\d+_\d+$/)
107108
{
108109
$rel_tags{$commit} = $tag;
109110
}
@@ -198,6 +199,7 @@ for my $branch (@BRANCHES)
198199
$last_tag = $sprout_tags{$commit};
199200

200201
# normalize branch names for making sprout tags
202+
$last_tag =~ s/^(REL_\d+).*/$1_BR/;
201203
$last_tag =~ s/^(REL\d+_\d+).*/$1_BR/;
202204
}
203205
$c->{'last_tag'} = $last_tag;

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy