Skip to content

Commit 8926ab2

Browse files
authored
Update transifex-pull.yml
1 parent a46e17c commit 8926ab2

File tree

1 file changed

+2
-19
lines changed

1 file changed

+2
-19
lines changed

.github/workflows/transifex-pull.yml

Lines changed: 2 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -27,9 +27,7 @@ jobs:
2727

2828
- name: Install Dependencies
2929
run: |
30-
sudo apt-get update
31-
sudo apt-get install -y gettext make
32-
pip install requests cogapp polib transifex-python sphinx-intl blurb six sphinx
30+
pip install requests cogapp polib transifex-python sphinx-intl blurb six
3331
curl -o- https://raw.githubusercontent.com/transifex/cli/master/install.sh | bash
3432
working-directory: /usr/local/bin
3533

@@ -44,22 +42,7 @@ jobs:
4442
- run: chmod +x transifex-util.py
4543

4644
# ---------------------------------------------------
47-
# CREATE GETTEXT BUILD FOR OLD VERSIONS (3.11 / 3.10)
48-
# ---------------------------------------------------
49-
- name: Ensure gettext directory exists for old branches
50-
run: |
51-
cd Doc
52-
if [ ! -f Makefile ] || ! grep -q "^gettext:" Makefile; then
53-
echo "Makefile has no gettext rule. Using sphinx-build directly."
54-
mkdir -p build/gettext
55-
sphinx-build -b gettext . build/gettext
56-
else
57-
echo "Makefile has gettext rule. Using make."
58-
make gettext
59-
fi
60-
61-
# ---------------------------------------------------
62-
# RUN THE TRANSIFEX SCRIPT
45+
# RUN TRANSIFEX SCRIPT (no Doc/, no make, no gettext)
6346
# ---------------------------------------------------
6447
- name: Recreate TX config
6548
run: ./transifex-util.py recreate_tx_config --language pt_PT --project-slug python-newest --version ${{ matrix.version }}

0 commit comments

Comments
 (0)