dev-cmd/bump: add --no-fork switch
Signed-off-by: Patrick Linnane <patrick@linnane.io>
This commit is contained in:
parent
1d614fc027
commit
9092f760fb
@ -37,6 +37,8 @@ module Homebrew
|
|||||||
description: "Check only casks."
|
description: "Check only casks."
|
||||||
switch "--installed",
|
switch "--installed",
|
||||||
description: "Check formulae and casks that are currently installed."
|
description: "Check formulae and casks that are currently installed."
|
||||||
|
switch "--no-fork",
|
||||||
|
description: "Don't try to fork the repository."
|
||||||
switch "--open-pr",
|
switch "--open-pr",
|
||||||
description: "Open a pull request for the new version if none have been opened yet."
|
description: "Open a pull request for the new version if none have been opened yet."
|
||||||
flag "--limit=",
|
flag "--limit=",
|
||||||
@ -509,6 +511,8 @@ module Homebrew
|
|||||||
"--message=Created by `brew bump`",
|
"--message=Created by `brew bump`",
|
||||||
]
|
]
|
||||||
|
|
||||||
|
bump_cask_pr_args << "--no-fork" if args.no_fork?
|
||||||
|
|
||||||
system HOMEBREW_BREW_FILE, *bump_cask_pr_args
|
system HOMEBREW_BREW_FILE, *bump_cask_pr_args
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user