Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
brew style
with your changes locally?brew typecheck
with your changes locally?brew tests
with your changes locally?This is the
bump
-specific part of #15611 and a continuation of #15725.The bump command has been refactored to include architecture-specific livechecks. By simulating different architectures, bump now returns architecture-specific results in a unified structure. This structure is leveraged in the retrieve_and_display_info_and_open_pr method to display livecheck results and pass updated versions to bump-cask-pr.
In addition, an issue with handling duplicate PRs has been addressed. Previously, bump returned Duplicate PRs should not be opened. Use --force to override this error. when duplicate PRs were identified. This wasn't actually implemented. The bump command now passes the --force switch to brew-#{type}-pr when appropriate.
While primarily focusing on the bump command, these changes also impact formulae. I've tried to preserve existing functionality and welcome any feedback on potential areas overlooked.
This will resolve #15167.
I also welcome any feedback in terms of displaying the information. The current format (see below) doesn't look great when the versions get long.