index : archinstall32 | |
Archlinux32 installer | gitolite user |
summaryrefslogtreecommitdiff |
-rw-r--r-- | .github/workflows/translation-check.yaml | 11 |
diff --git a/.github/workflows/translation-check.yaml b/.github/workflows/translation-check.yaml index 11418d31..c0abbaa6 100644 --- a/.github/workflows/translation-check.yaml +++ b/.github/workflows/translation-check.yaml @@ -14,10 +14,15 @@ jobs: steps: - uses: actions/checkout@v4 - run: pacman --noconfirm -Syu python git diffutils - - run: | + - name: Verify all translation scripts are up to date + run: | cd .. cp -r archinstall archinstall_orig cd archinstall/archinstall/locales - bash locales_generator.sh + bash locales_generator.sh 1> /dev/null cd ../../.. - git diff --no-index --name-only archinstall_orig archinstall + git diff \ + --quiet --no-index --name-only \ + archinstall_orig/archinstall/locales \ + archinstall/archinstall/locales \ + || (echo "Translation files have not been updated after translation, please run ./locales_generator.sh once more and commit" && exit 1) |