diff --git a/scripts/release-notes.pl b/scripts/release-notes.pl index 83e266fc3..1aea3b52a 100755 --- a/scripts/release-notes.pl +++ b/scripts/release-notes.pl @@ -137,7 +137,7 @@ sub onecommit { $ref = $closes[0]; } - if($ref =~ /^(\d+)/) { + if($ref =~ /^#?(\d+)/) { $ref = "https://curl.se/bug/?i=$1" } if($ref) {