bump-*-pr: fix an issue when using on taps with custom remote
This commit is contained in:
parent
fb70af3977
commit
8589ca8d40
@ -196,7 +196,7 @@ module Homebrew
|
|||||||
end
|
end
|
||||||
|
|
||||||
def check_pull_requests(cask, state:, args:, version: nil)
|
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,
|
GitHub.check_for_duplicate_pull_requests(cask.token, tap_remote_repo,
|
||||||
state: state,
|
state: state,
|
||||||
version: version,
|
version: version,
|
||||||
|
|||||||
@ -121,7 +121,7 @@ module Homebrew
|
|||||||
# spamming during normal output.
|
# spamming during normal output.
|
||||||
Homebrew.install_bundler_gems!
|
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 = "origin"
|
||||||
remote_branch = formula.tap.path.git_origin_branch
|
remote_branch = formula.tap.path.git_origin_branch
|
||||||
previous_branch = "-"
|
previous_branch = "-"
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user