travis: fixed syntax error

This commit is contained in:
itsmattkc
2020-01-24 10:10:15 +11:00
parent 5d1b379cb8
commit e5d6395a4f
-6
View File
@@ -8,10 +8,6 @@ if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then
GREP_PATH=ggrep
fi
if [ "$TRAVIS_TAG" != "" ]; then
fi
# Get current repo commit from GitHub (problems arose from trying to pipe cURL directly into grep, so we buffer it through a file)
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)
@@ -25,14 +21,12 @@ then
if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then
upload final package
bash upload.sh Olive*.zip
elif [[ "$TRAVIS_OS_NAME" == "linux" ]]; then
find appdir -executable -type f -exec ldd {} \; | grep " => /usr" | cut -d " " -f 2-3 | sort | uniq
# Upload final package
bash upload.sh Olive*.AppImage*
fi