pr-pull: disable --workflow flag

Replaced by --workflows.
This commit is contained in:
EricFromCanada 2020-12-18 10:09:23 -05:00
parent 603a0599cb
commit 69255d268d
3 changed files with 6 additions and 14 deletions

View File

@ -50,10 +50,8 @@ module Homebrew
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."
flag "--workflow=", flag "--workflow=",
description: "Retrieve artifacts from the specified workflow (default: `tests.yml`). "\ description: "Retrieve artifacts from the specified workflow (default: `tests.yml`).",
"*Legacy:* use `--workflows` instead." replacement: "`--workflows`"
# TODO: enable for next major/minor release
# replacement: "`--workflows`"
flag "--artifact=", flag "--artifact=",
description: "Download artifacts with the specified name (default: `bottles`)." description: "Download artifacts with the specified name (default: `bottles`)."
flag "--bintray-org=", flag "--bintray-org=",
@ -66,8 +64,8 @@ module Homebrew
description: "Use the specified Bintray repository to automatically mirror stable URLs "\ description: "Use the specified Bintray repository to automatically mirror stable URLs "\
"defined in the formulae (default: `mirror`)." "defined in the formulae (default: `mirror`)."
comma_array "--workflows=", comma_array "--workflows=",
description: "Retrieve artifacts from the specified workflow (default: `tests.yml`) "\ description: "Retrieve artifacts from the specified workflow (default: `tests.yml`). "\
"Comma-separated list to include multiple workflows." "Can be a comma-separated list to include multiple workflows."
comma_array "--ignore-missing-artifacts=", comma_array "--ignore-missing-artifacts=",
description: "Comma-separated list of workflows which can be ignored if they have not been run." description: "Comma-separated list of workflows which can be ignored if they have not been run."

View File

@ -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. Warn instead of raising an error if the bottle upload fails. Useful for repairing bottle uploads that previously failed.
* `--message`: * `--message`:
Message to include when autosquashing revision bumps, deletions, and rebuilds. 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`: * `--artifact`:
Download artifacts with the specified name (default: `bottles`). Download artifacts with the specified name (default: `bottles`).
* `--bintray-org`: * `--bintray-org`:
@ -1163,7 +1161,7 @@ Requires write access to the repository.
* `--bintray-mirror`: * `--bintray-mirror`:
Use the specified Bintray repository to automatically mirror stable URLs defined in the formulae (default: `mirror`). Use the specified Bintray repository to automatically mirror stable URLs defined in the formulae (default: `mirror`).
* `--workflows`: * `--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`: * `--ignore-missing-artifacts`:
Comma-separated list of workflows which can be ignored if they have not been run. Comma-separated list of workflows which can be ignored if they have not been run.

View File

@ -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\. Message to include when autosquashing revision bumps, deletions, and rebuilds\.
. .
.TP .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 \fB\-\-artifact\fR
Download artifacts with the specified name (default: \fBbottles\fR)\. Download artifacts with the specified name (default: \fBbottles\fR)\.
. .
@ -1629,7 +1625,7 @@ Use the specified Bintray repository to automatically mirror stable URLs defined
. .
.TP .TP
\fB\-\-workflows\fR \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 .TP
\fB\-\-ignore\-missing\-artifacts\fR \fB\-\-ignore\-missing\-artifacts\fR