diff --git a/aio/scripts/deploy-to-firebase.sh b/aio/scripts/deploy-to-firebase.sh index 6000a311b8..dd025e2b78 100755 --- a/aio/scripts/deploy-to-firebase.sh +++ b/aio/scripts/deploy-to-firebase.sh @@ -33,7 +33,7 @@ else readonly majorVersionStable=${CI_STABLE_BRANCH%%.*} # Do not deploy if the major version is not less than the stable branch major version - if [[ !( "$majorVersion" < "$majorVersionStable" ) ]]; then + if [[ !( "$majorVersion" -lt "$majorVersionStable" ) ]]; then echo "Skipping deploy of branch \"$CI_BRANCH\" to firebase." echo "We only deploy archive branches with the major version less than the stable branch: \"$CI_STABLE_BRANCH\"" exit 0