mirror of
https://github.com/YunoHost/yunohost.git
synced 2024-09-03 20:06:10 +02:00
ci: moar typoz, wtf @_@
This commit is contained in:
parent
ea6500ebfd
commit
3fe44ee73b
1 changed files with 2 additions and 2 deletions
|
@ -4,7 +4,7 @@
|
||||||
test-i18n-keys:
|
test-i18n-keys:
|
||||||
stage: translation
|
stage: translation
|
||||||
script:
|
script:
|
||||||
- python3 maintenance/missing_i18n_keys --check
|
- python3 maintenance/missing_i18n_keys.py --check
|
||||||
only:
|
only:
|
||||||
changes:
|
changes:
|
||||||
- locales/en.json
|
- locales/en.json
|
||||||
|
@ -24,7 +24,7 @@ autofix-translated-strings:
|
||||||
# create a local branch that will overwrite distant one
|
# create a local branch that will overwrite distant one
|
||||||
- git checkout -b "ci-autofix-translated-strings-${CI_COMMIT_REF_NAME}" --no-track
|
- git checkout -b "ci-autofix-translated-strings-${CI_COMMIT_REF_NAME}" --no-track
|
||||||
- python3 maintenance/missing_i18n_keys.py --fix
|
- 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 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 commit -am "[CI] Reformat / remove stale translated strings" || true
|
||||||
- git push -f origin "HEAD":"ci-remove-stale-translated-strings-${CI_COMMIT_REF_NAME}"
|
- git push -f origin "HEAD":"ci-remove-stale-translated-strings-${CI_COMMIT_REF_NAME}"
|
||||||
|
|
Loading…
Add table
Reference in a new issue