Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

dev-cmd/pr-*: remove --commit-bottles-to-pr-branch #15090

Merged
merged 1 commit into from Mar 30, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
2 changes: 1 addition & 1 deletion Library/Homebrew/dev-cmd/pr-automerge.rb
Expand Up @@ -74,7 +74,7 @@ def pr_automerge
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?
Expand Down
7 changes: 2 additions & 5 deletions Library/Homebrew/dev-cmd/pr-publish.rb
Expand Up @@ -16,8 +16,6 @@ def pr_publish_args
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."
Expand Down Expand Up @@ -50,9 +48,8 @@ def pr_publish
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

Expand Down