File tree 2 files changed +7
-5
lines changed
2 files changed +7
-5
lines changed Original file line number Diff line number Diff line change @@ -22,13 +22,15 @@ jobs:
22
22
with :
23
23
python-version : ' 3.10'
24
24
cache : ' pip'
25
- cache-dependency-path : setup.py
25
+ cache-dependency-path : |
26
+ setup.py
27
+ requirements.txt
26
28
- name : Install system-level dependencies
27
29
run : sudo apt-get update && sudo apt-get install libxml2-dev libxslt1-dev python3-dev libgdal-dev gdal-bin libmagic-dev libmagickwand-dev gettext libpoppler-cpp-dev
28
30
- name : Install dependencies
29
31
run : |
30
32
python -m pip install --upgrade pip pip-tools
31
- pip-sync requirements-dev .txt
33
+ pip-sync requirements.txt
32
34
pip install -e .
33
35
- name : Setup Git
34
36
run : |
38
40
run : make messagesde
39
41
- name : Commit translations
40
42
run : |
41
- git add .
43
+ git add **/django.po || true
42
44
git commit -m "💬 update translation messages" || true
43
- git push -u main:weblate-source
45
+ git push -u origin main:weblate-source --force
Original file line number Diff line number Diff line change @@ -16,4 +16,4 @@ requirements: requirements.in requirements-dev.in requirements-production.in
16
16
pip-compile requirements-production.in
17
17
18
18
messagesde :
19
- django-admin makemessages -l de --ignore public --ignore froide-env --ignore node_modules --ignore htmlcov --ignore LICENSE.txt --add-location file
19
+ python manage.py makemessages -l de --ignore public --ignore froide-env --ignore node_modules --ignore htmlcov --add-location file
You can’t perform that action at this time.
0 commit comments