diff --git a/completions/bash/brew b/completions/bash/brew index 7b1fc8d46c..d94765b791 100644 --- a/completions/bash/brew +++ b/completions/bash/brew @@ -1615,6 +1615,7 @@ _brew_pr_upload() { --quiet --root-url --root-url-using + --upload-only --verbose --warn-on-upload-failure " diff --git a/completions/fish/brew.fish b/completions/fish/brew.fish index 75762c4af8..5bd9c6ee0f 100644 --- a/completions/fish/brew.fish +++ b/completions/fish/brew.fish @@ -1121,6 +1121,7 @@ __fish_brew_complete_arg 'pr-upload' -l no-commit -d 'Do not generate a new comm __fish_brew_complete_arg 'pr-upload' -l quiet -d 'Make some output more quiet' __fish_brew_complete_arg 'pr-upload' -l root-url -d 'Use the specified URL as the root of the bottle\'s URL instead of Homebrew\'s default' __fish_brew_complete_arg 'pr-upload' -l root-url-using -d 'Use the specified download strategy class for downloading the bottle\'s URL instead of Homebrew\'s default' +__fish_brew_complete_arg 'pr-upload' -l upload-only -d 'Skip running `brew bottle` before uploading' __fish_brew_complete_arg 'pr-upload' -l verbose -d 'Make some output more verbose' __fish_brew_complete_arg 'pr-upload' -l warn-on-upload-failure -d 'Warn instead of raising an error if the bottle upload fails. Useful for repairing bottle uploads that previously failed' diff --git a/completions/zsh/_brew b/completions/zsh/_brew index d5a3e2912c..fb6ecc7703 100644 --- a/completions/zsh/_brew +++ b/completions/zsh/_brew @@ -1363,11 +1363,12 @@ _brew_pr_upload() { '--dry-run[Print what would be done rather than doing it]' \ '--github-org[Upload to the specified GitHub organisation'\''s GitHub Packages (default: `homebrew`)]' \ '--help[Show this message]' \ - '--keep-old[If the formula specifies a rebuild version, attempt to preserve its value in the generated DSL]' \ - '--no-commit[Do not generate a new commit before uploading]' \ + '(--upload-only)--keep-old[If the formula specifies a rebuild version, attempt to preserve its value in the generated DSL]' \ + '(--upload-only)--no-commit[Do not generate a new commit before uploading]' \ '--quiet[Make some output more quiet]' \ '--root-url[Use the specified URL as the root of the bottle'\''s URL instead of Homebrew'\''s default]' \ '--root-url-using[Use the specified download strategy class for downloading the bottle'\''s URL instead of Homebrew'\''s default]' \ + '(--keep-old --no-commit)--upload-only[Skip running `brew bottle` before uploading]' \ '--verbose[Make some output more verbose]' \ '--warn-on-upload-failure[Warn instead of raising an error if the bottle upload fails. Useful for repairing bottle uploads that previously failed]' } diff --git a/docs/Manpage.md b/docs/Manpage.md index 0de48e7680..8b32b17213 100644 --- a/docs/Manpage.md +++ b/docs/Manpage.md @@ -1294,6 +1294,8 @@ Apply the bottle commit and publish bottles to a host. Do not generate a new commit before uploading. * `--warn-on-upload-failure`: Warn instead of raising an error if the bottle upload fails. Useful for repairing bottle uploads that previously failed. +* `--upload-only`: + Skip running `brew bottle` before uploading. * `--committer`: Specify a committer name and email in `git`'s standard author format. * `--github-org`: diff --git a/manpages/brew.1 b/manpages/brew.1 index 5f80de00b4..476bb9b759 100644 --- a/manpages/brew.1 +++ b/manpages/brew.1 @@ -1854,6 +1854,10 @@ Do not generate a new commit before uploading\. Warn instead of raising an error if the bottle upload fails\. Useful for repairing bottle uploads that previously failed\. . .TP +\fB\-\-upload\-only\fR +Skip running \fBbrew bottle\fR before uploading\. +. +.TP \fB\-\-committer\fR Specify a committer name and email in \fBgit\fR\'s standard author format\. .