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

[tor-commits] [translation-tools/master] make sure we only commit currently completed branches. fixes: #26878



commit a24e9b0cba60137316f78d74dc87d17d9094b8e9
Author: emma peel <emma.peel@xxxxxxxxxx>
Date:   Wed Aug 28 13:11:12 2019 +0000

    make sure we only commit currently completed branches. fixes: #26878
---
 update_translations | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/update_translations b/update_translations
index b882f9a..a269858 100755
--- a/update_translations
+++ b/update_translations
@@ -28,6 +28,8 @@ for project in $PROJECTS; do
 
   if echo "$project" | grep -Eqs '_release$|_completed$' ; then
     TX_PULL_OPTS='--mode=reviewed'
+    rm -f *.po > /dev/null;
+    rm -f */*.po > /dev/null;
   else
     TX_PULL_OPTS='--mode=developer'
   fi



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