Merge pull request #20651 from Homebrew/bump-use-livecheck_version-for-comparison

bump: use LivecheckVersion for comparison
This commit is contained in:
Mike McQuaid 2025-09-08 15:21:42 +00:00 committed by GitHub
commit f68908d492
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -399,7 +399,8 @@ module Homebrew
newer_than_upstream[version_type] =
(current_version_value = current_version.send(version_type)).is_a?(Version) &&
(current_version_value > new_version_value)
(Livecheck::LivecheckVersion.create(formula_or_cask, current_version_value) >
Livecheck::LivecheckVersion.create(formula_or_cask, new_version_value))
end
if !args.no_pull_requests? &&