summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2020-11-13 13:17:16 +0100
committerDaniel Stenberg <daniel@haxx.se>2020-11-13 13:17:16 +0100
commit87614768cef9e98c91125cd67100caec8b20d1f3 (patch)
treed2fbc6ffaedcbbe91c6ea4f1947d3382b91168bc
parent0362944a2eeee417c61c458e9000806dafe475d4 (diff)
downloadcurl-87614768cef9e98c91125cd67100caec8b20d1f3.tar.gz
release-notes.pl: detect #[number] better for Ref: etc
-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) {