]> git.mxchange.org Git - friendica.git/blobdiff - .github/workflows/transifex.yml
Merge pull request #10179 from nupplaphil/fix/transifex_script
[friendica.git] / .github / workflows / transifex.yml
index b56ae395f2f72a281f0f7c1bb754f3b5009cb576..b775b08441a2381a89b87a17c4b3ee2b45e73e3a 100644 (file)
@@ -20,8 +20,9 @@ jobs:
           echo "::group::Check messages.po"
           # Skip first 4 lines in possible diff, because they're header
           # Skip all lines of the git diff starting with "@@" or comments or starting "POT-Creation-Date"
-          if [[ $(git diff -U0 ./view/lang/C/messages.po | awk '!/@@|-"POT-Creation-Date|+"POT-Creation-Date|-#|+#/{print }' | wc -l) > 4 ]]; then
+          if [[ $(git diff -U0 ./view/lang/C/messages.po | awk '!/@@|-"POT-Creation-Date|+"POT-Creation-Date|-#|+#/{print }' | wc -l) -gt 4 ]]; then
             echo "::error file=messages.po::messages.po is out of date"
+            echo "$(git diff ./view/lang/C/messages.po)"
             exit 1
           else
             echo "Nothing to update"