FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

update.sh: tx-push before changing the tx config by rffontenelle · Pull Request #36 · python/python-docs-ja · GitHub

Repository navigation

Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension .sh  (1) All 1 file type selected
Viewed files
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Unified
Split
Hide whitespace
Diff view
Unified
Split
Hide whitespace
11 changes: 6 additions & 5 deletions scripts/update.sh
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,11 @@ cd locales
sphinx-intl create-txconfig
sphinx-intl update-txconfig-resources -p pot -d . --transifex-project-name python-newest

if [ "$CI" = true ]
then
tx push --source --no-interactive --skip
fi

# Update the translation project's .tx/config
cd ../../.. # back to $ROOTDIR
mkdir -p .tx
Expand All @@ -33,9 +38,5 @@ sed cpython/Doc/locales/.tx/config \
-e 's|<lang>/LC_MESSAGES/||' \
-e "s|^file_filter|trans.${LANGUAGE}|" \
> .tx/config

if [ "$CI" = true ]
then
tx push --source --no-interactive --skip
fi

tx pull -l ${LANGUAGE} --use-git-timestamps --parallel

Back | FazBrowse Home | New Git URL