`determine-rebottle-runners`: use `MacOSVersions::SYMBOLS` (#104733)
parent
aea1e65117
commit
00322f8801
|
@ -43,7 +43,7 @@ module Homebrew
|
||||||
tags = formula.bottle_specification.collector.tags
|
tags = formula.bottle_specification.collector.tags
|
||||||
runners = if tags.count == 1 && tags.first.system == :all
|
runners = if tags.count == 1 && tags.first.system == :all
|
||||||
# Build on all supported macOS versions and Linux.
|
# 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)
|
macos_version = MacOS::Version.new(version)
|
||||||
if macos_version.outdated_release? || macos_version.prerelease?
|
if macos_version.outdated_release? || macos_version.prerelease?
|
||||||
nil
|
nil
|
||||||
|
|
Loading…
Reference in New Issue