Merge pull request #14569 from reitermarkus/unversioned-casks

Ignore livecheckable casks in `bump-unversioned-casks`.
This commit is contained in:
Mike McQuaid 2023-02-09 15:33:56 +00:00 committed by GitHub
commit c9496ae50f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -46,7 +46,7 @@ module Homebrew
casks = args.named.to_paths(only: :cask, recurse_tap: true).map { |path| Cask::CaskLoader.load(path) }
unversioned_casks = casks.select { |cask| cask.url&.unversioned? }
unversioned_casks = casks.select { |cask| cask.url&.unversioned? && !cask.livecheckable? }
ohai "Unversioned Casks: #{unversioned_casks.count} (#{state.size} cached)"