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

emmapeel at torproject.org emmapeel at torproject.org
Wed Aug 28 13:11:59 UTC 2019


commit a24e9b0cba60137316f78d74dc87d17d9094b8e9
Author: emma peel <emma.peel at riseup.net>
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





More information about the tor-commits mailing list