travis: fixed broken if statement

This commit is contained in:
itsmattkc
2020-01-24 10:20:56 +11:00
parent e5d6395a4f
commit 66ad2749af
+1 -1
View File
@@ -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..."