From 66ad2749af3905e8f57405ca845886146c44d97e Mon Sep 17 00:00:00 2001 From: itsmattkc Date: Fri, 24 Jan 2020 10:20:56 +1100 Subject: [PATCH] travis: fixed broken if statement --- .travis/after_success.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.travis/after_success.sh b/.travis/after_success.sh index 04fc6c1a1..116ef89b0 100644 --- a/.travis/after_success.sh +++ b/.travis/after_success.sh @@ -12,7 +12,7 @@ fi REMOTE=$(curl -H "Authorization: token $GITHUB_TOKEN" https://api.github.com/repos/olive-editor/olive/commits/master | $GREP_PATH -Po '(?<=: \")(([a-z0-9])\w+)(?=\")' -m 1 --) LOCAL=$(git rev-parse HEAD) -if [ "$TRAVIS_TAG" != "" || "$REMOTE" == "$LOCAL" ] +if [ "$TRAVIS_TAG" != "" ] || [ "$REMOTE" == "$LOCAL" ] then echo "[INFO] Still current. Uploading..."