os/mac: track only the major version instead

This commit is contained in:
Carlo Cabrera 2021-10-11 20:25:55 +08:00
parent 8824352ab0
commit 231b10beea
No known key found for this signature in database
GPG Key ID: C74D447FC549A1D0

View File

@ -45,7 +45,8 @@ module OS
sig { returns(::Version) }
def latest_sdk_version
# TODO: bump version when new Xcode macOS SDK is released
::Version.new("11.3")
# NOTE: We only track the major version of the SDK.
::Version.new("11")
end
private :latest_sdk_version