mirror of
https://github.com/gosticks/brew.git
synced 2026-12-04 11:41:45 +00:00
Merge pull request #8847 from Rylan12/pr-upload-add-no-commit-flag
pr-upload: add --no-commit flag
This commit is contained in:
@@ -9,6 +9,10 @@ This is a page for maintainers to diagnose certain build errors.
|
||||
### Bottle publishes failed but the commits are correct in the git history
|
||||
|
||||
Follow these steps to fix this issue:
|
||||
* Download and extract the bottle artifact.
|
||||
* `brew pr-upload --no-commit` in the bottle directory.
|
||||
|
||||
Alternative instructions using `pr-pull`:
|
||||
* `git reset --hard <SHA>` in homebrew/core to reset to the commit before before all the commits created by `brew pr-pull`.
|
||||
* `brew pr-pull <options>` to upload the right bottles. Add the `--warn-on-upload-failure` flag if the bottles have been partially uploaded and you're certain that the bottle checksums will match the checksums already present in the `bottle do` block of the formula.
|
||||
* `git reset --hard origin/master` to return to the latest commit and discard the commits made by `brew pr-pull`.
|
||||
|
||||
@@ -1177,6 +1177,8 @@ Apply the bottle commit and publish bottles to Bintray or GitHub Releases.
|
||||
If the formula specifies a rebuild version, attempt to preserve its value in the generated DSL.
|
||||
* `-n`, `--dry-run`:
|
||||
Print what would be done rather than doing it.
|
||||
* `--no-commit`:
|
||||
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.
|
||||
* `--bintray-org`:
|
||||
|
||||
Reference in New Issue
Block a user