fix(aio): Fix deploy to firebase script: should use < for string operations (#19005)

PR Close #19005
This commit is contained in:
Yuan Gao 2017-09-01 14:04:59 -07:00 committed by Miško Hevery
parent 3c4eef8a86
commit 77a8492405
1 changed files with 1 additions and 1 deletions

View File

@ -27,7 +27,7 @@ else
readonly majorVersionStable=${STABLE_BRANCH%%.*}
# Do not deploy if the major version is not less than the stable branch major version
if [[ $majorVersion -ge $majorVersionStable ]]; then
if [[ !( "$majorVersion" < "$majorVersionStable" ) ]]; then
echo "Skipping deploy of branch \"${TRAVIS_BRANCH}\" to firebase."
echo "We only deploy archive branches with the major version less than the stable branch: \"${STABLE_BRANCH}\""
exit 0