Skip to content
Snippets Groups Projects
Commit c6c93017 authored by Mike McQuaid's avatar Mike McQuaid Committed by GitHub
Browse files

Merge pull request #2549 from MikeMcQuaid/fix-bottle-tag-ordering

software_spec: process macOS versions on Linux.
parents 3589e24d 4971855e
No related branches found
No related tags found
No related merge requests found
......@@ -8,6 +8,7 @@ require "dependency_collector"
require "utils/bottles"
require "patch"
require "compilers"
require "os/mac/version"
class SoftwareSpec
extend Forwardable
......@@ -338,8 +339,8 @@ class BottleSpecification
tags = collector.keys.sort_by do |tag|
# Sort non-MacOS tags below MacOS tags.
begin
MacOS::Version.from_symbol tag
rescue
OS::Mac::Version.from_symbol tag
rescue ArgumentError
"0.#{tag}"
end
end
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment