devops: fix Firefox builds on MacOS 12 (#10865)

We don't need this yet for our build bots, but I happen to run MacOS 12
now.
This commit is contained in:
Andrey Lushnikov 2021-12-10 11:46:10 -08:00 committed by GitHub
parent 9e732f7b51
commit 027ecd80d0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View File

@ -23,7 +23,7 @@ rm -rf .mozconfig
if [[ "$(uname)" == "Darwin" ]]; then
CURRENT_HOST_OS_VERSION=$(getMacVersion)
# As of Oct 2021, building Firefox requires XCode 13
if [[ "${CURRENT_HOST_OS_VERSION}" == "11."* ]]; then
if [[ "${CURRENT_HOST_OS_VERSION}" != "10."* ]]; then
selectXcodeVersionOrDie "13"
else
echo "ERROR: ${CURRENT_HOST_OS_VERSION} is not supported"

View File

@ -23,7 +23,7 @@ rm -rf .mozconfig
if [[ "$(uname)" == "Darwin" ]]; then
CURRENT_HOST_OS_VERSION=$(getMacVersion)
# As of Oct 2021, building Firefox requires XCode 13
if [[ "${CURRENT_HOST_OS_VERSION}" == "11."* ]]; then
if [[ "${CURRENT_HOST_OS_VERSION}" != "10."* ]]; then
selectXcodeVersionOrDie "13"
else
echo "ERROR: ${CURRENT_HOST_OS_VERSION} is not supported"