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

pr-pull: disable --workflow flag #10059

Merged
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
10 changes: 4 additions & 6 deletions Library/Homebrew/dev-cmd/pr-pull.rb
Expand Up @@ -50,10 +50,8 @@ def pr_pull_args
depends_on: "--autosquash",
description: "Message to include when autosquashing revision bumps, deletions, and rebuilds."
flag "--workflow=",
description: "Retrieve artifacts from the specified workflow (default: `tests.yml`). "\
"*Legacy:* use `--workflows` instead."
# TODO: enable for next major/minor release
# replacement: "`--workflows`"
description: "Retrieve artifacts from the specified workflow (default: `tests.yml`).",
replacement: "`--workflows`"
flag "--artifact=",
description: "Download artifacts with the specified name (default: `bottles`)."
flag "--bintray-org=",
Expand All @@ -66,8 +64,8 @@ def pr_pull_args
description: "Use the specified Bintray repository to automatically mirror stable URLs "\
"defined in the formulae (default: `mirror`)."
comma_array "--workflows=",
description: "Retrieve artifacts from the specified workflow (default: `tests.yml`) "\
"Comma-separated list to include multiple workflows."
description: "Retrieve artifacts from the specified workflow (default: `tests.yml`). "\
"Can be a comma-separated list to include multiple workflows."
comma_array "--ignore-missing-artifacts=",
description: "Comma-separated list of workflows which can be ignored if they have not been run."

Expand Down
4 changes: 1 addition & 3 deletions docs/Manpage.md
Expand Up @@ -1150,8 +1150,6 @@ Requires write access to the repository.
Warn instead of raising an error if the bottle upload fails. Useful for repairing bottle uploads that previously failed.
* `--message`:
Message to include when autosquashing revision bumps, deletions, and rebuilds.
* `--workflow`:
Retrieve artifacts from the specified workflow (default: `tests.yml`). *Legacy:* use `--workflows` instead.
* `--artifact`:
Download artifacts with the specified name (default: `bottles`).
* `--bintray-org`:
Expand All @@ -1163,7 +1161,7 @@ Requires write access to the repository.
* `--bintray-mirror`:
Use the specified Bintray repository to automatically mirror stable URLs defined in the formulae (default: `mirror`).
* `--workflows`:
Retrieve artifacts from the specified workflow (default: `tests.yml`) Comma-separated list to include multiple workflows.
Retrieve artifacts from the specified workflow (default: `tests.yml`). Can be a comma-separated list to include multiple workflows.
* `--ignore-missing-artifacts`:
Comma-separated list of workflows which can be ignored if they have not been run.

Expand Down
6 changes: 1 addition & 5 deletions manpages/brew.1
Expand Up @@ -1604,10 +1604,6 @@ Warn instead of raising an error if the bottle upload fails\. Useful for repairi
Message to include when autosquashing revision bumps, deletions, and rebuilds\.
.
.TP
\fB\-\-workflow\fR
Retrieve artifacts from the specified workflow (default: \fBtests\.yml\fR)\. \fILegacy:\fR use \fB\-\-workflows\fR instead\.
.
.TP
\fB\-\-artifact\fR
Download artifacts with the specified name (default: \fBbottles\fR)\.
.
Expand All @@ -1629,7 +1625,7 @@ Use the specified Bintray repository to automatically mirror stable URLs defined
.
.TP
\fB\-\-workflows\fR
Retrieve artifacts from the specified workflow (default: \fBtests\.yml\fR) Comma\-separated list to include multiple workflows\.
Retrieve artifacts from the specified workflow (default: \fBtests\.yml\fR)\. Can be a comma\-separated list to include multiple workflows\.
.
.TP
\fB\-\-ignore\-missing\-artifacts\fR
Expand Down