8000 Add display messages · python/python-docs-ja@4654aa7 · GitHub
[go: up one dir, main page]

Skip to content

Commit 4654aa7

Browse files
committed
Add display messages
1 parent 0a0f54d commit 4654aa7

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.travis.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ script:
3939
- tx pull --force --language ja
4040
- cd ja/LC_MESSAGES
4141
- git add .
42-
- if [ $(git status --short | wc -l) -eq 0 ]; then echo "no .po file to upload"; else git commit --message="Update .po files"; git push --quiet "git@python-docs-ja.github.com:python/python-docs-ja.git" 3.6:3.6; fi
42+
- if [ $(git status --short | wc -l) -eq 0 ]; then echo "no .po file to upload"; else echo "I have .po file(s) to upload"; git commit --message="Update .po files"; git push --quiet "git@python-docs-ja.github.com:python/python-docs-ja.git" 3.6:3.6; fi
4343
# renew-catalog-template
4444
- cd "${BASEDIR}"/cpython-doc-catalog
4545
- git remote add upstream https://github.com/python/cpython.git
@@ -51,7 +51,7 @@ script:
5151
- ls -lt locales/pot
5252
- cd locales
5353
- git add pot
54-
- if [ $(git status -s | wc -l) -eq 0 ]; then echo "no .pot file to update"; exit 0; fi
54+
- if [ $(git status -s | wc -l) -eq 0 ]; then echo "no .pot file to update"; exit 0; else echo "I have .pot file(s) to upload"; fi
5555
- rm -rf .tx
5656
- sphinx-intl create-txconfig
5757
- sphinx-intl update-txconfig-resources --transifex-project-name=python-36 --locale-dir . --pot-dir pot

0 commit comments

Comments
 (0)
0