ci: moar typoz, wtf @_@

This commit is contained in:
Alexandre Aubin 2022-01-11 19:50:43 +01:00
parent ea6500ebfd
commit 3fe44ee73b

View file

@ -4,7 +4,7 @@
test-i18n-keys:
stage: translation
script:
- python3 maintenance/missing_i18n_keys --check
- python3 maintenance/missing_i18n_keys.py --check
only:
changes:
- locales/en.json
@ -24,7 +24,7 @@ autofix-translated-strings:
# create a local branch that will overwrite distant one
- git checkout -b "ci-autofix-translated-strings-${CI_COMMIT_REF_NAME}" --no-track
- python3 maintenance/missing_i18n_keys.py --fix
- python3 maintenanceautofix_locale_format.py
- python3 maintenance/autofix_locale_format.py
- '[ $(git diff -w | wc -l) != 0 ] || exit 0' # stop if there is nothing to commit
- git commit -am "[CI] Reformat / remove stale translated strings" || true
- git push -f origin "HEAD":"ci-remove-stale-translated-strings-${CI_COMMIT_REF_NAME}"