Merge pull request #9448 from MikeMcQuaid/bottle_checksum_sorting
software_spec: make bottle sorting stable.
This commit is contained in:
commit
20af7ee11f
@ -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 = {}
|
||||
|
Loading…
x
Reference in New Issue
Block a user