8000 Skip upload-catalog when .tx/config not exists · python/python-docs-ja@e47a64d · GitHub
[go: up one dir, main page]

Skip to content

Commit e47a64d

Browse files
committed
Skip upload-catalog when .tx/config not exists
1 parent 7da698e commit e47a64d

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

scripts/push/upload-catalog

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,11 @@ ls -lF LC_MESSAGES
1111

1212
# upload catalogs to python-docs-ja
1313
cd "${BASEDIR}"/cpython-doc-catalog/Doc/locales
14+
if [ ! -e .tx/config ]; then
15+
echo ".tx/config does not exist. Skip uploading catalogs to python-docs-ja"
16+
exit 0
17+
fi
18+
1419
tx pull --force --language ja
1520
cd ja/LC_MESSAGES
1621
git add *.po **/*.po

0 commit comments

Comments
 (0)
0