From 8df618958dbd459715f3d5ee6456092f4fec59af Mon Sep 17 00:00:00 2001 From: Seeker Date: Thu, 13 Aug 2020 16:05:50 -0700 Subject: [PATCH] bump-formula-pr: add warnings for patches and resources --- Library/Homebrew/dev-cmd/bump-formula-pr.rb | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Library/Homebrew/dev-cmd/bump-formula-pr.rb b/Library/Homebrew/dev-cmd/bump-formula-pr.rb index 82d7e6dc52..ed925920ec 100644 --- a/Library/Homebrew/dev-cmd/bump-formula-pr.rb +++ b/Library/Homebrew/dev-cmd/bump-formula-pr.rb @@ -133,6 +133,9 @@ module Homebrew new_version = args.version check_closed_pull_requests(formula, tap_full_name, version: new_version, args: args) if new_version + opoo "This formula has patches that may be resolved upstream." if formula.patchlist.present? + opoo "This formula has resources that may need to be updated." if formula.resources.present? + requested_spec = :stable formula_spec = formula.stable odie "#{formula}: no #{requested_spec} specification found!" unless formula_spec