Merge pull request #15082 from scientificworld/master
bump-*-pr: fix an issue when using on taps with custom remote
This commit is contained in:
commit
f4ee196f90
@ -196,7 +196,7 @@ module Homebrew
|
||||
end
|
||||
|
||||
def check_pull_requests(cask, state:, args:, version: nil)
|
||||
tap_remote_repo = cask.tap.remote_repo || cask.tap.full_name
|
||||
tap_remote_repo = cask.tap.full_name || cask.tap.remote_repo
|
||||
GitHub.check_for_duplicate_pull_requests(cask.token, tap_remote_repo,
|
||||
state: state,
|
||||
version: version,
|
||||
|
||||
@ -121,7 +121,7 @@ module Homebrew
|
||||
# spamming during normal output.
|
||||
Homebrew.install_bundler_gems!
|
||||
|
||||
tap_remote_repo = formula.tap.remote_repo
|
||||
tap_remote_repo = formula.tap.full_name || formula.tap.remote_repo
|
||||
remote = "origin"
|
||||
remote_branch = formula.tap.path.git_origin_branch
|
||||
previous_branch = "-"
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user