Skip to content

Commit

Permalink
Drop changelog translation in older Python verisons (#255)
Browse files Browse the repository at this point in the history
  • Loading branch information
rffontenelle authored Dec 20, 2024
1 parent c0edf2c commit fb11ee6
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions scripts/pull_translations.sh
Original file line number Diff line number Diff line change
Expand Up @@ -41,3 +41,9 @@ if [ $# -gt 0 ]; then
fi

tx pull -f -l "${PYDOC_LANGUAGE}" ${resources_to_pull}

# Drop translation of Python's changelog in python 3.12 or older.
minor_version=$(git branch --show-current | sed 's|^3\.||')
if [ $minor_version -le 12 ]; then
git checkout whatsnew/changelog.po
fi

0 comments on commit fb11ee6

Please sign in to comment.