xcode: 12.3 is the latest version

This commit is contained in:
FX Coudert 2020-12-15 13:27:40 +01:00 committed by Mike McQuaid
parent 79eeb00d0c
commit 46e4f58a47
No known key found for this signature in database
GPG Key ID: 48A898132FD8EE70

View File

@ -20,10 +20,10 @@ module OS
# This may be a beta version for a beta macOS. # This may be a beta version for a beta macOS.
sig { returns(String) } sig { returns(String) }
def latest_version def latest_version
latest_stable = "12.2" latest_stable = "12.3"
case MacOS.version case MacOS.version
when "11" then latest_stable when "11" then latest_stable
when "10.15" then "12.2" when "10.15" then "12.3"
when "10.14" then "11.3.1" when "10.14" then "11.3.1"
when "10.13" then "10.1" when "10.13" then "10.1"
when "10.12" then "9.2" when "10.12" then "9.2"