dev-cmd/bump: Tell the user why we didn't bump a package

Co-authored-by: Nanda H Krishna <me@nandahkrishna.com>
This commit is contained in:
Issy Long 2022-02-20 17:10:44 +00:00
parent 0a91c40ed5
commit 9ad3a9cefe
No known key found for this signature in database
GPG Key ID: 8247C390DADC67D4

View File

@ -269,6 +269,14 @@ module Homebrew
EOS
return unless args.open_pr?
if repology_latest > current_version &&
repology_latest > livecheck_latest &&
livecheck_strategy == "GithubLatest"
puts "#{title_name} was not bumped to the Repology version because that " \
"version is not the latest release on GitHub."
end
return unless new_version
return if pull_requests