fix condition

This commit is contained in:
Mikhail Timofeev
2020-10-31 17:52:14 +03:00
parent 2896d56d64
commit d0c0d59fde

View File

@@ -24,7 +24,7 @@ getXcodeVersionToInstall() {
if [[ $XCODE_VERSION == "12" ]]; then if [[ $XCODE_VERSION == "12" ]]; then
echo "12.0.1" echo "12.0.1"
elif [[ ! $XCODE_VERSION == "12.1" ]]; then elif [[ $XCODE_VERSION == "12.1" ]]; then
echo "12.1.1 Release Candidate" echo "12.1.1 Release Candidate"
elif [[ ! $XCODE_VERSION =~ "_beta" ]]; then elif [[ ! $XCODE_VERSION =~ "_beta" ]]; then
echo "${XCODE_VERSION//_/ }" echo "${XCODE_VERSION//_/ }"