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

dispatch-build-bottle: rename --wheezy to --linux-wheezy #11652

Merged
merged 1 commit into from
Jul 6, 2021
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/cli/args.rbi
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ module Homebrew
def linux_self_hosted?; end

sig { returns(T::Boolean) }
def wheezy?; end
def linux_wheezy?; end

sig { returns(T::Boolean) }
def total?; end
Expand Down
4 changes: 2 additions & 2 deletions Library/Homebrew/dev-cmd/dispatch-build-bottle.rb
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ def dispatch_build_bottle_args
description: "Dispatch bottle for Linux (using GitHub runners)."
switch "--linux-self-hosted",
description: "Dispatch bottle for Linux (using self-hosted runner)."
switch "--wheezy",
switch "--linux-wheezy",
description: "Use Debian Wheezy container for building the bottle on Linux."

conflicts "--macos", "--linux", "--linux-self-hosted"
Expand Down Expand Up @@ -83,7 +83,7 @@ def dispatch_build_bottle
# These cannot be passed as nil to GitHub API
inputs[:issue] = args.issue if args.issue
inputs[:upload] = args.upload?.to_s if args.upload?
inputs[:wheezy] = args.wheezy?.to_s if args.wheezy?
inputs[:wheezy] = args.linux_wheezy?.to_s if args.linux_wheezy?

ohai "Dispatching #{tap} bottling request of formula \"#{formula.name}\" for #{runner}"
GitHub.workflow_dispatch_event(user, repo, workflow, ref, inputs)
Expand Down