dev-cmd/pr-publish: default to main
branch
This commit is contained in:
parent
8b2209bc26
commit
8b3b832e03
@ -19,7 +19,7 @@ module Homebrew
|
|||||||
switch "--large-runner",
|
switch "--large-runner",
|
||||||
description: "Run the upload job on a large runner."
|
description: "Run the upload job on a large runner."
|
||||||
flag "--branch=",
|
flag "--branch=",
|
||||||
description: "Branch to use the workflow from (default: `master`)."
|
description: "Branch to use the workflow from (default: `main`)."
|
||||||
flag "--message=",
|
flag "--message=",
|
||||||
depends_on: "--autosquash",
|
depends_on: "--autosquash",
|
||||||
description: "Message to include when autosquashing revision bumps, deletions and rebuilds."
|
description: "Message to include when autosquashing revision bumps, deletions and rebuilds."
|
||||||
@ -35,7 +35,7 @@ module Homebrew
|
|||||||
def run
|
def run
|
||||||
tap = Tap.fetch(args.tap || CoreTap.instance.name)
|
tap = Tap.fetch(args.tap || CoreTap.instance.name)
|
||||||
workflow = args.workflow || "publish-commit-bottles.yml"
|
workflow = args.workflow || "publish-commit-bottles.yml"
|
||||||
ref = args.branch || "master"
|
ref = args.branch || "main"
|
||||||
|
|
||||||
inputs = {
|
inputs = {
|
||||||
autosquash: args.autosquash?,
|
autosquash: args.autosquash?,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user