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

This commit is contained in:
Dawid Dziurla 2021-07-05 18:24:43 +02:00
parent 35b15af400
commit c676aee842
No known key found for this signature in database
GPG Key ID: 7B6D8368172E9B0B
2 changed files with 3 additions and 3 deletions

View File

@ -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

View File

@ -29,7 +29,7 @@ module Homebrew
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"
@ -83,7 +83,7 @@ module Homebrew
# 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)