summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xscripts/release-notes.pl2
1 files changed, 1 insertions, 1 deletions
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) {