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

Merge pull request #9448 from MikeMcQuaid/bottle_checksum_sorting

software_spec: make bottle sorting stable.
parents f5f50fee a5bd7ccc
No related branches found
No related tags found
No related merge requests found
......@@ -392,10 +392,9 @@ class BottleSpecification
def checksums
tags = collector.keys.sort_by do |tag|
# Sort non-MacOS tags below MacOS tags.
OS::Mac::Version.from_symbol tag
"#{OS::Mac::Version.from_symbol(tag)}_#{tag}"
rescue MacOSVersionError
# Sort non-MacOS tags below MacOS tags.
"0.#{tag}"
end
checksums = {}
......
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