Skip to content

Commit

Permalink
Merge pull request #11928 from abitrolly/patch-1
Browse files Browse the repository at this point in the history
Mention `bump-formula-pr` in update section
  • Loading branch information
MikeMcQuaid committed Aug 30, 2021
2 parents 5e0514a + 56726cf commit ab2118a
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion docs/Formula-Cookbook.md
Original file line number Diff line number Diff line change
Expand Up @@ -820,7 +820,13 @@ See our [Deprecating, Disabling, and Removing Formulae](Deprecating-Disabling-an

## 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.

Expand Down

0 comments on commit ab2118a

Please sign in to comment.