bugs-in-changelog.sh: Match at least 3 digits after RHEL- for Jira issue

We could match on 1- and 2-digit RHEL issues, thus matching strings
like "RHEL-9" and "RHEL-10".  No such Jira issues exist for us.

(cherry picked from commit 846ecb2b3840212c6f2cad6a15a6b33cd2e912bf)
This commit is contained in:
Richard W.M. Jones
2025-04-15 14:52:00 +01:00
parent 59bad26898
commit 2424976a3c

View File

@@ -62,7 +62,7 @@ bugzilla \
# list them.
jiraids=$(
git log "$1" |
grep -Eio 'RHEL-[0-9]+' |
grep -Eio 'RHEL-[0-9]{3,}' |
sort -u
)