From 56726cfbbbff457443977513f192da721b161804 Mon Sep 17 00:00:00 2001 From: Anatoli Babenia Date: Fri, 27 Aug 2021 06:24:56 +0300 Subject: [PATCH] Mention `bump-formula-pr` in update section --- docs/Formula-Cookbook.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/docs/Formula-Cookbook.md b/docs/Formula-Cookbook.md index 1cd4d11274..a582a85e6f 100644 --- a/docs/Formula-Cookbook.md +++ b/docs/Formula-Cookbook.md @@ -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.