File tree Expand file tree Collapse file tree 1 file changed +2
-19
lines changed
Expand file tree Collapse file tree 1 file changed +2
-19
lines changed Original file line number Diff line number Diff line change 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
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 }}
You can’t perform that action at this time.
0 commit comments