From c676aee84205d67011928cdbdc13f6ef371ef7cf Mon Sep 17 00:00:00 2001 From: Dawid Dziurla Date: Mon, 5 Jul 2021 18:24:43 +0200 Subject: [PATCH] dispatch-build-bottle: rename --wheezy to --linux-wheezy --- Library/Homebrew/cli/args.rbi | 2 +- Library/Homebrew/dev-cmd/dispatch-build-bottle.rb | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Library/Homebrew/cli/args.rbi b/Library/Homebrew/cli/args.rbi index c9a822dce7..11e2138733 100644 --- a/Library/Homebrew/cli/args.rbi +++ b/Library/Homebrew/cli/args.rbi @@ -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 diff --git a/Library/Homebrew/dev-cmd/dispatch-build-bottle.rb b/Library/Homebrew/dev-cmd/dispatch-build-bottle.rb index 45680f3128..b42d774713 100644 --- a/Library/Homebrew/dev-cmd/dispatch-build-bottle.rb +++ b/Library/Homebrew/dev-cmd/dispatch-build-bottle.rb @@ -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)