[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

[tor-commits] [manual/translations] try to get a failure for broken links



commit cc0feefa6c5c47049424a78ee1aa514b65ff4031
Author: emma peel <emmapeel@xxxxxxxxxxxxxx>
Date:   Tue Apr 20 14:57:36 2021 +0000

    try to get a failure for broken links
---
 .gitlab-ci.yml | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index f6065e5..f6bf3a5 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -33,6 +33,4 @@ pages:
 check_l10n:
   stage: test
   script: 
-    - grep -r '] (' i18n/*.po >&2
-    - if [[ $(grep -r '] (' i18n/*.po) ]] ; then echo "TEST FAILED: broken links" ;fi
-    - allow_failure: true
+    - grep -r '] (' i18n/*.po >&2 && echo 'TEST FAILED: Broken links'



_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits