CI: Push translation: Fixed wrong branch to push.

This commit is contained in:
Terry Geng 2020-10-31 23:46:35 +08:00
parent fad31bb858
commit 4bef53c948
No known key found for this signature in database
GPG Key ID: F982F8EA1DF720E7

View File

@ -43,5 +43,6 @@ fi
echo "==> master~$n ($(git show --oneline --quiet master~$n)) shares the same translations with the server."
echo "=> Preparing to push local translation updates to the server..."
git checkout -f master
$SOURCE_DIR/scripts/sync_translation.py --lang-dir $SOURCE_DIR/lang/ --client $TRADUORA_W_CLIENT --secret $TRADUORA_W_SECRET --push
exit 0