bump-formula-pr: call update-python-resources
This commit is contained in:
parent
c1ba64677f
commit
b3ae5405e9
@ -2,6 +2,7 @@
|
||||
|
||||
require "formula"
|
||||
require "cli/parser"
|
||||
require "utils/pypi"
|
||||
|
||||
module Homebrew
|
||||
module_function
|
||||
@ -329,6 +330,11 @@ module Homebrew
|
||||
alias_rename.map! { |a| formula.tap.alias_dir/a }
|
||||
end
|
||||
|
||||
ohai "brew update-python-resources #{formula.name}"
|
||||
if !args.dry_run? || (args.dry_run? && args.write?)
|
||||
PyPI.update_python_resources! formula, new_formula_version, silent: true, ignore_non_pypi_packages: true
|
||||
end
|
||||
|
||||
run_audit(formula, alias_rename, old_contents)
|
||||
|
||||
formula.path.parent.cd do
|
||||
|
Loading…
x
Reference in New Issue
Block a user