String comparison in deploy
This commit is contained in:
parent
9ffa669847
commit
25b86274cf
@ -9,7 +9,7 @@ if [ "$TRAVIS" = "true" ]; then
|
||||
else
|
||||
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"
|
||||
exit 0;
|
||||
fi;
|
||||
|
Loading…
Reference in New Issue
Block a user