Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit4736d74

Browse files
committed
Adjust git_changelog for new-style release tags.
It wasn't on board with REL_n_n format.
1 parent11d8d72 commit4736d74

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)

[8]ページ先頭

©2009-2025 Movatter.jp