From 71e023a2c65ecebec49ff4935a4fe8d2a5e01277 Mon Sep 17 00:00:00 2001 From: Xu Cheng Date: Fri, 11 Dec 2015 21:46:02 +0800 Subject: [PATCH] test-bot: fix resolve_test_tap --- Library/Homebrew/cmd/test-bot.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Library/Homebrew/cmd/test-bot.rb b/Library/Homebrew/cmd/test-bot.rb index fec1eab391..0efd400dc6 100644 --- a/Library/Homebrew/cmd/test-bot.rb +++ b/Library/Homebrew/cmd/test-bot.rb @@ -53,7 +53,7 @@ module Homebrew if git_url = ENV["UPSTREAM_GIT_URL"] || ENV["GIT_URL"] # Also can get tap from Jenkins GIT_URL. - url_path = git_url.sub(%r{^https?://github\.com/}, "").chomp("/") + url_path = git_url.sub(%r{^https?://github\.com/}, "").chomp("/").sub(%r{\.git$}, "") begin tap = Tap.fetch(url_path) return tap unless tap.core_formula_repository?