Commit 4736d744 authored by Tom Lane's avatar Tom Lane

Adjust git_changelog for new-style release tags.

It wasn't on board with REL_n_n format.
parent 11d8d72c
......@@ -102,7 +102,8 @@ my %rel_tags;
{
my $commit = $1;
my $tag = $2;
if ( $tag =~ /^REL\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;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment