Update Library/Homebrew/dev-cmd/bump-formula-pr.rb
Co-authored-by: Mike McQuaid <mike@mikemcquaid.com>
This commit is contained in:
parent
8532bb23cc
commit
048ed5d683
@ -346,7 +346,7 @@ module Homebrew
|
||||
EOS
|
||||
end
|
||||
|
||||
if new_url =~ %r{^https://github.com/([\w-]+)/([\w-]+)/archive/refs/tags/(v?[.0-9]*)\.tar}
|
||||
if new_url =~ %r{^https://github\.com/([\w-]+)/([\w-]+)/archive/refs/tags/(v?[.0-9]+)\.tar\.}
|
||||
owner = Regexp.last_match(1)
|
||||
repo = Regexp.last_match(2)
|
||||
tag = Regexp.last_match(3)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user