Skip to content

Commit fb11ee6

Browse files
authored
Drop changelog translation in older Python verisons (#255)
1 parent c0edf2c commit fb11ee6

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

scripts/pull_translations.sh

+6
Original file line numberDiff line numberDiff line change
@@ -41,3 +41,9 @@ if [ $# -gt 0 ]; then
4141
fi
4242

4343
tx pull -f -l "${PYDOC_LANGUAGE}" ${resources_to_pull}
44+
45+
# Drop translation of Python's changelog in python 3.12 or older.
46+
minor_version=$(git branch --show-current | sed 's|^3\.||')
47+
if [ $minor_version -le 12 ]; then
48+
git checkout whatsnew/changelog.po
49+
fi

0 commit comments

Comments
 (0)