Cant avoid bootstrapping calibre

This commit is contained in:
Kovid Goyal 2020-07-31 22:51:08 +05:30
parent 379e5137e8
commit 01c9ffee6f
No known key found for this signature in database
GPG Key ID: 06BC317B515ACE7C
2 changed files with 3 additions and 1 deletions

View File

@ -27,6 +27,9 @@ jobs:
run: run:
python -m pip install transifex-client python -m pip install transifex-client
- name: Bootstrap calibre
run: python setup/unix-ci.py bootstrap
- name: Update translations - name: Update translations
env: env:
tx: ${{ secrets.tx }} tx: ${{ secrets.tx }}

View File

@ -126,7 +126,6 @@ username = api
'''.replace('PASSWORD', os.environ['tx']) '''.replace('PASSWORD', os.environ['tx'])
with open(os.path.expanduser('~/.transifexrc'), 'w') as f: with open(os.path.expanduser('~/.transifexrc'), 'w') as f:
f.write(transifexrc) f.write(transifexrc)
run('git clone --depth=1 https://github.com/kovidgoyal/calibre-translations.git translations')
run_python('setup.py pot') run_python('setup.py pot')
elif action == 'test': elif action == 'test':