`determine-rebottle-runners`: use `MacOSVersions::SYMBOLS` (#104733)

master
Rylan Polster 2022-06-29 14:11:45 -04:00 committed by GitHub
parent aea1e65117
commit 00322f8801
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -43,7 +43,7 @@ module Homebrew
tags = formula.bottle_specification.collector.tags
runners = if tags.count == 1 && tags.first.system == :all
# Build on all supported macOS versions and Linux.
MacOS::Version::SYMBOLS.values.flat_map do |version|
MacOSVersions::SYMBOLS.values.flat_map do |version|
macos_version = MacOS::Version.new(version)
if macos_version.outdated_release? || macos_version.prerelease?
nil