Disable Transifex push

This commit is contained in:
Frans de Jonge
2019-12-31 10:41:44 +01:00
committed by GitHub
parent 0ea889aecb
commit 49f06f8d36

View File

@@ -9,16 +9,6 @@ set +e
if [ -z "${CIRCLE_PULL_REQUEST}" ] && [ "${CIRCLE_BRANCH}" = 'master' ]; then
echo "CIRCLE_NODE_INDEX: ${CIRCLE_NODE_INDEX}"
if [ "$CIRCLE_NODE_INDEX" = 1 ]; then
echo -e "\\n${ANSI_GREEN}Pushing translation to Transifex."
cat >~/.transifexrc <<EOF
[https://www.transifex.com]
hostname = https://www.transifex.com
password = ${TRANSIFEX_TOKEN}
username = api
EOF
make pot
echo -e "\\n${ANSI_GREEN}Checking out koreader/doc for update."
git clone git@github.com:koreader/doc.git koreader_doc