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
# TODO: bump version when new Xcode macOS SDK is released
Version.new "10.15"
Version.new "11.0"
end
def latest_stable_version
# TODO: bump version when new macOS is released and also update
# references in docs/Installation.md and
# https://github.com/Homebrew/install/blob/HEAD/install.sh
Version.new "10.15"
Version.new "11.0"
end
def outdated_release?
# TODO: bump version when new macOS is released and also update
# references in docs/Installation.md and
# https://github.com/Homebrew/install/blob/HEAD/install.sh
version < "10.13"
version < "10.14"
end
def prerelease?

View File

@ -22,8 +22,8 @@ module OS
def latest_version
latest_stable = "12.2"
case MacOS.version
when "11.0" then "12.2"
when "10.15" then latest_stable
when "11.0" then latest_stable
when "10.15" then "12.2"
when "10.14" then "11.3.1"
when "10.13" then "10.1"
when "10.12" then "9.2"
@ -45,7 +45,7 @@ module OS
sig { returns(String) }
def minimum_version
case MacOS.version
when "11.0" then "12.0"
when "11.0" then "12.2"
when "10.15" then "11.0"
when "10.14" then "10.2"
when "10.13" then "9.0"