Skip to content

Commit b491707

Browse files
committed
Add display messages
1 parent b925782 commit b491707

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
@@ -38,7 +38,7 @@ script:
3838
- tx pull --force --language ja
3939
- cd ja/LC_MESSAGES
4040
- git add .
41-
- 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" 2.7:2.7; fi
41+
- 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" 2.7:2.7; fi
4242
# renew-catalog-template
4343
- cd "${BASEDIR}"/cpython-doc-catalog
4444
- git remote add upstream https://github.com/python/cpython.git
@@ -50,7 +50,7 @@ script:
5050
- ls -lt locales/pot
5151
- cd locales
5252
- git add pot
53-
- if [ $(git status -s | wc -l) -eq 0 ]; then echo "no .pot file to update"; exit 0; fi
53+
- 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
5454
- rm -rf .tx
5555
- sphinx-intl create-txconfig
5656
- sphinx-intl update-txconfig-resources --transifex-project-name=python-27 --locale-dir . --pot-dir pot

0 commit comments

Comments
 (0)