summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormdankov <mdankov@users.noreply.github.com>2015-12-15 23:50:31 +0300
committermdankov <mdankov@users.noreply.github.com>2015-12-15 23:50:31 +0300
commit2c30cf429b23758822bcaeef9e839eb13730c719 (patch)
treeb5dee45b8c38a942e12a859bd3b562c1b21d5cca
parentdcd62808da3c360d3549be1426e00b540ed955dc (diff)
downloadnavit-2c30cf429b23758822bcaeef9e839eb13730c719.tar.gz
Only update translations building navit-gps forkR6421
Try to fix #1338: CircleCI fails on translation update when running on trunk of forked repo
-rw-r--r--circle.yml2
1 files changed, 1 insertions, 1 deletions
diff --git a/circle.yml b/circle.yml
index 0c9244dee..cc0cca530 100644
--- a/circle.yml
+++ b/circle.yml
@@ -29,7 +29,7 @@ dependencies:
- bash ci/build_linux.sh
- sed -i '/INTEGER/d' bin/po/navit.pot
- cp bin/po/navit.pot $CIRCLE_ARTIFACTS/
- - "curl \"https://translations.launchpad.net/navit/${CIRCLE_BRANCH}/+translations-upload\" -H \"$lp_cookie\" -H \"Referer: https://translations.launchpad.net/navit/${CIRCLE_BRANCH}/+translations-upload\" -F file=@bin/po/navit.pot | grep title"
+ - "[ $CIRCLE_PROJECT_USERNAME != navit-gps ] || curl \"https://translations.launchpad.net/navit/${CIRCLE_BRANCH}/+translations-upload\" -H \"$lp_cookie\" -H \"Referer: https://translations.launchpad.net/navit/${CIRCLE_BRANCH}/+translations-upload\" -F file=@bin/po/navit.pot | grep title"
# Android build
- wget -c -N -q $ANDROID_SDK_CDN/$ANDROID_SDK_FILE -O $ANDROID_HOME/$ANDROID_SDK_FILE
- wget -c -N -q $ANDROID_NDK_CDN/$ANDROID_NDK_FILE -O $ANDROID_HOME/$ANDROID_NDK_FILE