Case insenstive

This commit is contained in:
Rob Winch 2025-01-17 08:45:30 -06:00
parent d8783b30d9
commit b098739349
No known key found for this signature in database
2 changed files with 2 additions and 2 deletions

View File

@ -26,7 +26,7 @@ def find_forward_merges(message_file)
forward_merges = []
message.each_line do |line|
$log.debug "Checking #{line} for message"
match = /^(?:Fixes|Closes) gh-(\d+) in (\d\.\d\.[\dx](?:[\.\-](?:M|RC)\d)?)$/.match(line)
match = /^(?:Fixes|Closes) gh-(\d+) in (\d\.\d\.[\dx](?:[\.\-](?:M|RC)\d)?)$/i.match(line)
if match then
issue = match[1]
milestone = match[2]

View File

@ -18,7 +18,7 @@ def get_fixed_issues()
message = `git log -1 --pretty=%B #{rev}`
message.each_line do |line|
$log.debug "Checking #{line} for message"
fixed << line.strip if /^(?:Fixes|Closes) gh-(\d+)/.match(line)
fixed << line.strip if /^(?:Fixes|Closes) gh-(\d+)/i.match(line)
end
$log.debug "Found fixed issues #{fixed}"
return fixed;