From 63cb676e52755f50fa19d5a3fae3a7ae26043acf Mon Sep 17 00:00:00 2001 From: jkoan Date: Mon, 5 Mar 2018 18:53:58 +0100 Subject: fix:ci:Fix logic for download center uploads (#407) --- ci/update_download_center.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- cgit v1.2.1