Mention bump-formula-pr in update section

This commit is contained in:
Anatoli Babenia 2021-08-27 06:24:56 +03:00 committed by GitHub
parent 5633f49277
commit 56726cfbbb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -820,7 +820,13 @@ See our [Deprecating, Disabling, and Removing Formulae](Deprecating-Disabling-an
## Updating formulae ## Updating formulae
Eventually a new version of the software will be released. In this case you should update the [`url`](https://rubydoc.brew.sh/Formula#url-class_method) and [`sha256`](https://rubydoc.brew.sh/Formula#sha256%3D-class_method). If a [`revision`](https://rubydoc.brew.sh/Formula#revision%3D-class_method) line exists outside any `bottle do` block it should be removed. Eventually a new version of the software will be released. In this case you should update the [`url`](https://rubydoc.brew.sh/Formula#url-class_method) and [`sha256`](https://rubydoc.brew.sh/Formula#sha256%3D-class_method). You can use:
```sh
brew bump-formula-pr foo
```
If a [`revision`](https://rubydoc.brew.sh/Formula#revision%3D-class_method) line exists outside any `bottle do` block it should be removed.
Leave the `bottle do ... end` block as-is; our CI system will update it when we pull your change. Leave the `bottle do ... end` block as-is; our CI system will update it when we pull your change.