From 048ed5d683b7f1d8df8107245c226e8185d32d9f Mon Sep 17 00:00:00 2001 From: Sean Molenaar Date: Wed, 8 Mar 2023 13:59:14 +0100 Subject: [PATCH] Update Library/Homebrew/dev-cmd/bump-formula-pr.rb Co-authored-by: Mike McQuaid --- Library/Homebrew/dev-cmd/bump-formula-pr.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Library/Homebrew/dev-cmd/bump-formula-pr.rb b/Library/Homebrew/dev-cmd/bump-formula-pr.rb index d997d41529..e3ee26291c 100644 --- a/Library/Homebrew/dev-cmd/bump-formula-pr.rb +++ b/Library/Homebrew/dev-cmd/bump-formula-pr.rb @@ -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)