diff --git a/Library/Homebrew/dev-cmd/bump.rb b/Library/Homebrew/dev-cmd/bump.rb index b3cbd5e9b6..2269dc1e6f 100644 --- a/Library/Homebrew/dev-cmd/bump.rb +++ b/Library/Homebrew/dev-cmd/bump.rb @@ -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