Commit 5755b819 authored by Peter Parente's avatar Peter Parente

Debug make tx-en

parent 77a770f9
...@@ -68,22 +68,19 @@ n-docs-diff: ## number of docs/ files changed since branch from master ...@@ -68,22 +68,19 @@ n-docs-diff: ## number of docs/ files changed since branch from master
n-other-diff: ## number of files outside docs/ changed since branch from master n-other-diff: ## number of files outside docs/ changed since branch from master
@git diff --name-only $(DIFF_RANGE) -- ':!docs/' | wc -l | awk '{print $$1}' @git diff --name-only $(DIFF_RANGE) -- ':!docs/' | wc -l | awk '{print $$1}'
tx-en: ## rebuild en locale strings and push to master tx-en: ## rebuild en locale strings and push to master (req: GH_TOKEN)
git config --global user.email "travis@travis-ci.org" @git config --global user.email "travis@travis-ci.org"
git config --global user.name "Travis CI" @git config --global user.name "Travis CI"
@git checkout master
git checkout master @make -C docs clean gettext
@cd docs && sphinx-intl update -p _build/gettext -l en
pushd docs @git add docs/locale/en
make clean gettext @git commit -m "Update en source strings for $$TRAVIS_COMMIT"
sphinx-intl build -p _build/gettext -l en
popd
git add docs/locale/en @git remote add origin-tx https://$${GH_TOKEN}@github.com/jupyter/docker-stacks.git
git commit -m "Update en source strings for $$TRAVIS_COMMIT" @git push -u origin-tx master
git remote add origin-tx https://$${GH_TOKEN}@github.com/jupyter/docker-stacks.git
git push -u origin-tx master
test/%: ## run tests against a stack test/%: ## run tests against a stack
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment