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
|
def checksums
|
||||||
tags = collector.keys.sort_by do |tag|
|
tags = collector.keys.sort_by do |tag|
|
||||||
# Sort non-MacOS tags below MacOS tags.
|
"#{OS::Mac::Version.from_symbol(tag)}_#{tag}"
|
||||||
|
|
||||||
OS::Mac::Version.from_symbol tag
|
|
||||||
rescue MacOSVersionError
|
rescue MacOSVersionError
|
||||||
|
# Sort non-MacOS tags below MacOS tags.
|
||||||
"0.#{tag}"
|
"0.#{tag}"
|
||||||
end
|
end
|
||||||
checksums = {}
|
checksums = {}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user