File tree Expand file tree Collapse file tree 1 file changed +10
-13
lines changed Expand file tree Collapse file tree 1 file changed +10
-13
lines changed Original file line number Diff line number Diff line change @@ -68,22 +68,19 @@ n-docs-diff: ## number of docs/ files changed since branch from master
68
68
n-other-diff : # # number of files outside docs/ changed since branch from master
69
69
@git diff --name-only $(DIFF_RANGE ) -- ' :!docs/' | wc -l | awk ' {print $$1}'
70
70
71
- tx-en : # # rebuild en locale strings and push to master
72
- git config --global user.email
" [email protected] "
73
- git config --global user.name " Travis CI"
71
+ tx-en : # # rebuild en locale strings and push to master (req: GH_TOKEN)
72
+ @git config --global user.email
" [email protected] "
73
+ @git config --global user.name " Travis CI"
74
+ @git checkout master
74
75
75
- git checkout master
76
+ @make -C docs clean gettext
77
+ @cd docs && sphinx-intl update -p _build/gettext -l en
76
78
77
- pushd docs
78
- make clean gettext
79
- sphinx-intl build -p _build/gettext -l en
80
- popd
79
+ @git add docs/locale/en
80
+ @git commit -m "Update en source strings for $$TRAVIS_COMMIT"
81
81
82
- git add docs/locale/en
83
- git commit -m "Update en source strings for $$TRAVIS_COMMIT"
84
-
85
- git remote add origin-tx https://$${GH_TOKEN}@github.com/jupyter/docker-stacks.git
86
- git push -u origin-tx master
82
+ @git remote add origin-tx https://$${GH_TOKEN}@github.com/jupyter/docker-stacks.git
83
+ @git push -u origin-tx master
87
84
88
85
89
86
test/% : # # run tests against a stack
You can’t perform that action at this time.
0 commit comments