Merge pull request #15090 from carlocab/default-push-to-pr-branch
dev-cmd/pr-*: remove `--commit-bottles-to-pr-branch`
This commit is contained in:
commit
65510f5a07
@ -74,7 +74,7 @@ module Homebrew
|
||||
pr_urls << pr["html_url"]
|
||||
end
|
||||
|
||||
publish_args = ["pr-publish", "--commit-bottles-to-pr-branch"]
|
||||
publish_args = ["pr-publish"]
|
||||
publish_args << "--tap=#{tap}" if tap
|
||||
publish_args << "--workflow=#{args.workflow}" if args.workflow
|
||||
publish_args << "--autosquash" if args.autosquash?
|
||||
|
||||
@ -16,8 +16,6 @@ module Homebrew
|
||||
Publish bottles for a pull request with GitHub Actions.
|
||||
Requires write access to the repository.
|
||||
EOS
|
||||
switch "--commit-bottles-to-pr-branch",
|
||||
description: "Push bottle commits to the pull request branch."
|
||||
switch "--autosquash",
|
||||
description: "If supported on the target tap, automatically reformat and reword commits " \
|
||||
"to our preferred format."
|
||||
@ -50,9 +48,8 @@ module Homebrew
|
||||
ref = args.branch || "master"
|
||||
|
||||
inputs = {
|
||||
commit_bottles_to_pr_branch: args.commit_bottles_to_pr_branch?,
|
||||
autosquash: args.autosquash?,
|
||||
large_runner: args.large_runner?,
|
||||
autosquash: args.autosquash?,
|
||||
large_runner: args.large_runner?,
|
||||
}
|
||||
inputs[:message] = args.message if args.message.presence
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user