dev-cmd/bump: adjust system call.

Instead of immediately failing let's set `Homebrew.failed` to `true` to
set a non-zero exit code but continue with the rest of formulae/casks.
This commit is contained in:
Mike McQuaid 2025-08-22 15:54:51 +01:00
parent 53494592e3
commit c760afc66e
No known key found for this signature in database

View File

@ -536,7 +536,8 @@ module Homebrew
bump_pr_args << "--bump-synced=#{outdated_synced_formulae.join(",")}"
end
safe_system HOMEBREW_BREW_FILE, *bump_pr_args
result = system HOMEBREW_BREW_FILE, *bump_pr_args
Homebrew.failed = true unless result
end
sig {