mirror of
https://github.com/Gnucash/gnucash.git
synced 2025-02-25 18:55:30 -06:00
Improve bug-fix detection and reformatting in release-notes script.
This commit is contained in:
parent
85058f8278
commit
3bab92367a
@ -64,8 +64,8 @@ while(<$revs>) {
|
||||
$item .= $rev;
|
||||
if ($rev =~ /<\{\}>$/) {
|
||||
$item =~ s/<\{\}>//;
|
||||
if ($item =~ m/^Bug[\s:]?[0-9]+/) {
|
||||
$item =~ s/^Bug[\s:]?([0-9]+)[ -]*/Bug $1 - /;
|
||||
if ($item =~ m/^[\s\[]*[Bb]ug[\]\s:\-\#]*[0-9]+/) {
|
||||
$item =~ s/^[\s\[]*[Bb]ug[\]\s:\-\#]*([0-9]+)[ -]*/Bug $1 - /;
|
||||
push @bugs, $item;
|
||||
} else {
|
||||
push @improves, $item;
|
||||
|
Loading…
Reference in New Issue
Block a user