release-notes.pl: detect #[number] better for Ref: etc

This commit is contained in:
Daniel Stenberg 2020-11-13 13:17:16 +01:00
parent 0362944a2e
commit 87614768ce
No known key found for this signature in database
GPG Key ID: 5CC908FDB71E12C2
1 changed files with 1 additions and 1 deletions

View File

@ -137,7 +137,7 @@ sub onecommit {
$ref = $closes[0];
}
if($ref =~ /^(\d+)/) {
if($ref =~ /^#?(\d+)/) {
$ref = "https://curl.se/bug/?i=$1"
}
if($ref) {