Merge pull request #10027 from Homebrew/xcode-12.3

xcode: 12.3 is the latest version
This commit is contained in:
Mike McQuaid 2020-12-16 16:27:21 +00:00 committed by GitHub
commit fbe09104b9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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"