String comparison in deploy

This commit is contained in:
Nabeel Shahzad 2018-02-03 13:55:55 -06:00
parent 9ffa669847
commit 25b86274cf

View File

@ -9,7 +9,7 @@ if [ "$TRAVIS" = "true" ]; then
else else
echo "On branch $TRAVIS_BRANCH" echo "On branch $TRAVIS_BRANCH"
if [ "$TRAVIS_BRANCH" -ne "master" ] && [ "$TRAVIS_BRANCH" -ne "dev" ]; then if [ "$TRAVIS_BRANCH" != "master" ] && [ "$TRAVIS_BRANCH" != "dev" ]; then
echo "Not on valid branch, exiting" echo "Not on valid branch, exiting"
exit 0; exit 0;
fi; fi;