From 12d470331ca39efdbbddef3c2d2bda1eadc234b4 Mon Sep 17 00:00:00 2001 From: Pascal Vizeli Date: Tue, 3 Sep 2019 17:56:41 +0200 Subject: [PATCH] Update translations_upload --- script/translations_upload | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/script/translations_upload b/script/translations_upload index 52045e41d60..22a2bbceba2 100755 --- a/script/translations_upload +++ b/script/translations_upload @@ -26,8 +26,8 @@ LANG_ISO=en CURRENT_BRANCH=$(git rev-parse --abbrev-ref HEAD) -# Check Travis and CircleCI environment as well -if [ "${CURRENT_BRANCH-}" != "dev" ] && [ "${TRAVIS_BRANCH-}" != "dev" ] && [ "${CIRCLE_BRANCH-}" != "dev" ]; then +# Check Travis and Azure environment as well +if [ "${CURRENT_BRANCH-}" != "dev" ] && [ "${TRAVIS_BRANCH-}" != "dev" ] && [ "${AZURE_BRANCH-}" != "dev" ]; then echo "Please only run the translations upload script from a clean checkout of dev." exit 1 fi