summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjkoan <jkoan@users.noreply.github.com>2018-03-05 18:53:58 +0100
committerPierre GRANDIN <pgrandin@users.noreply.github.com>2018-03-05 09:53:58 -0800
commit63cb676e52755f50fa19d5a3fae3a7ae26043acf (patch)
treeb439f1f6c0151daefd962f6465951c1a3ec40911
parente40aa32594b0cac44f543f03335c8c8473d1561c (diff)
downloadnavit-63cb676e52755f50fa19d5a3fae3a7ae26043acf.tar.gz
fix:ci:Fix logic for download center uploads (#407)
-rw-r--r--ci/update_download_center.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/ci/update_download_center.sh b/ci/update_download_center.sh
index cec11808d..28ea82c2e 100644
--- a/ci/update_download_center.sh
+++ b/ci/update_download_center.sh
@@ -23,7 +23,7 @@ fi
if [ -z $CIRCLECI ];then
echo "This Script needs to be run on CircleCI"
fi
-if [[ "${CIRCLE_PROJECT_USERNAME}" != "navit-gps" && "${CIRCLE_BRANCH}" != "trunk" ]]; then
+if [[ "${CIRCLE_PROJECT_USERNAME}" != "navit-gps" || "${CIRCLE_BRANCH}" != "trunk" ]]; then
echo "Only trunk on navit-gps may upload to the Download Center"
exit 0
fi