Merge pull request #9054 from fxcoudert/bigsur

macOS Big Sur
This commit is contained in:
Mike McQuaid 2020-11-16 12:22:34 +00:00 committed by GitHub
commit 3844cd6dc5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 6 additions and 6 deletions

View File

@ -41,21 +41,21 @@ module OS
def latest_sdk_version def latest_sdk_version
# TODO: bump version when new Xcode macOS SDK is released # TODO: bump version when new Xcode macOS SDK is released
Version.new "10.15" Version.new "11.0"
end end
def latest_stable_version def latest_stable_version
# TODO: bump version when new macOS is released and also update # TODO: bump version when new macOS is released and also update
# references in docs/Installation.md and # references in docs/Installation.md and
# https://github.com/Homebrew/install/blob/HEAD/install.sh # https://github.com/Homebrew/install/blob/HEAD/install.sh
Version.new "10.15" Version.new "11.0"
end end
def outdated_release? def outdated_release?
# TODO: bump version when new macOS is released and also update # TODO: bump version when new macOS is released and also update
# references in docs/Installation.md and # references in docs/Installation.md and
# https://github.com/Homebrew/install/blob/HEAD/install.sh # https://github.com/Homebrew/install/blob/HEAD/install.sh
version < "10.13" version < "10.14"
end end
def prerelease? def prerelease?

View File

@ -22,8 +22,8 @@ module OS
def latest_version def latest_version
latest_stable = "12.2" latest_stable = "12.2"
case MacOS.version case MacOS.version
when "11.0" then "12.2" when "11.0" then latest_stable
when "10.15" then latest_stable when "10.15" then "12.2"
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"
@ -45,7 +45,7 @@ module OS
sig { returns(String) } sig { returns(String) }
def minimum_version def minimum_version
case MacOS.version case MacOS.version
when "11.0" then "12.0" when "11.0" then "12.2"
when "10.15" then "11.0" when "10.15" then "11.0"
when "10.14" then "10.2" when "10.14" then "10.2"
when "10.13" then "9.0" when "10.13" then "9.0"