Merge pull request #14210 from dawidd6/bump-check-is-a-version
dev-cmd/bump: check if Repology output is a version first
This commit is contained in:
commit
a4d2aa8fa0
@ -270,7 +270,8 @@ module Homebrew
|
|||||||
|
|
||||||
return unless args.open_pr?
|
return unless args.open_pr?
|
||||||
|
|
||||||
if repology_latest > current_version &&
|
if repology_latest.is_a?(Version) &&
|
||||||
|
repology_latest > current_version &&
|
||||||
repology_latest > livecheck_latest &&
|
repology_latest > livecheck_latest &&
|
||||||
formula_or_cask.livecheckable?
|
formula_or_cask.livecheckable?
|
||||||
puts "#{title_name} was not bumped to the Repology version because it's livecheckable."
|
puts "#{title_name} was not bumped to the Repology version because it's livecheckable."
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user