Skip to content
Snippets Groups Projects
Unverified Commit d983c429 authored by Mike McQuaid's avatar Mike McQuaid Committed by GitHub
Browse files

Merge pull request #11410 from WingLim/develop

feat: add branch param
parents ec2271ce 2bd71ffb
No related branches found
No related tags found
No related merge requests found
......@@ -19,6 +19,8 @@ module Homebrew
switch "--autosquash",
description: "If supported on the target tap, automatically reformat and reword commits "\
"in the pull request to our preferred format."
flag "--branch=",
description: "Branch to publish to (default: `master`)."
flag "--message=",
depends_on: "--autosquash",
description: "Message to include when autosquashing revision bumps, deletions, and rebuilds."
......@@ -36,7 +38,7 @@ module Homebrew
tap = Tap.fetch(args.tap || CoreTap.instance.name)
workflow = args.workflow || "publish-commit-bottles.yml"
ref = "master"
ref = args.branch || "master"
extra_args = []
extra_args << "--autosquash" if args.autosquash?
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment