bump-formula-pr: add warnings for patches and resources
This commit is contained in:
parent
c983d85eea
commit
8df618958d
@ -133,6 +133,9 @@ module Homebrew
|
|||||||
new_version = args.version
|
new_version = args.version
|
||||||
check_closed_pull_requests(formula, tap_full_name, version: new_version, args: args) if new_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
|
requested_spec = :stable
|
||||||
formula_spec = formula.stable
|
formula_spec = formula.stable
|
||||||
odie "#{formula}: no #{requested_spec} specification found!" unless formula_spec
|
odie "#{formula}: no #{requested_spec} specification found!" unless formula_spec
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user