Skip to content

Improve ci #40

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 7 commits into from
Dec 30, 2022
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Disable pushing translations
Source files auto-update is now done elsewhere
  • Loading branch information
rffontenelle committed Nov 12, 2022
commit cec744f9c23b4224a06985122b9fb062b057a303
6 changes: 1 addition & 5 deletions scripts/update.sh
Original file line number Diff line number Diff line change
Expand Up @@ -25,12 +25,8 @@ cd locales
sphinx-intl create-txconfig
sphinx-intl update-txconfig-resources -p pot -d . --transifex-organization-name python-doc --transifex-project-name python-newest

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

# Pull translations into cpython/Doc/locales/LANGUAGE/LC_MESSAGES/
tx pull -l ${LANGUAGE} -t --use-git-timestamps -f
tx pull -l ${LANGUAGE} -t --use-git-timestamps

# Finally, move downloaded translation files to the language's repository
cd "${LANGUAGE}/LC_MESSAGES/"
Expand Down