Merge pull request #20651 from Homebrew/bump-use-livecheck_version-for-comparison
bump: use LivecheckVersion for comparison
This commit is contained in:
commit
f68908d492
@ -399,7 +399,8 @@ module Homebrew
|
|||||||
|
|
||||||
newer_than_upstream[version_type] =
|
newer_than_upstream[version_type] =
|
||||||
(current_version_value = current_version.send(version_type)).is_a?(Version) &&
|
(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
|
end
|
||||||
|
|
||||||
if !args.no_pull_requests? &&
|
if !args.no_pull_requests? &&
|
||||||
|
Loading…
x
Reference in New Issue
Block a user