From 1e96ec1bde539556e6e959ecf4779d8d2e804539 Mon Sep 17 00:00:00 2001 From: Dominyk Tiller Date: Thu, 26 Nov 2015 23:51:11 +0000 Subject: [PATCH] Formula-Cookbook: don't remove bottle revisions --- share/doc/homebrew/Formula-Cookbook.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/share/doc/homebrew/Formula-Cookbook.md b/share/doc/homebrew/Formula-Cookbook.md index 4d93510023..7cdb3d4760 100644 --- a/share/doc/homebrew/Formula-Cookbook.md +++ b/share/doc/homebrew/Formula-Cookbook.md @@ -909,7 +909,9 @@ Homebrew provides two Formula methods for launchd plist files. `plist_name` will ## Updating formulae -Eventually a new version of the software will be released. In this case you should update the `url` and `sha256`. If a `revision` line exists, it should be removed. Please leave the `bottle do ... end` block as-is; our CI system will update it when we pull your change. +Eventually a new version of the software will be released. In this case you should update the `url` and `sha256`. If a `revision` line exists outside any `bottle do` block, it should be removed. + +Please leave the `bottle do ... end` block as-is; our CI system will update it when we pull your change. Check if the formula you are updating is a dependency for any other formulae by running `brew uses UPDATED_FORMULA`. If it is a dependency please `brew reinstall` all the dependencies after it is installed and verify they work correctly.