fix(aio): Fix deploy to firebase script: should use < for string operations (#19005)
PR Close #19005
This commit is contained in:
parent
3c4eef8a86
commit
77a8492405
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue