[tor-commits] [gettor/master] Script update_files should update to gdrive too

hiro at torproject.org hiro at torproject.org
Fri Sep 27 09:21:36 UTC 2019


commit e4ccf5f44a473068a28d159a1e405b63edde55fd
Author: hiro <hiro at torproject.org>
Date:   Fri Sep 6 13:43:30 2019 +0200

    Script update_files should update to gdrive too
---
 scripts/update_files | 15 +++++++++++++--
 1 file changed, 13 insertions(+), 2 deletions(-)

diff --git a/scripts/update_files b/scripts/update_files
index 924db45..b1253c1 100755
--- a/scripts/update_files
+++ b/scripts/update_files
@@ -10,8 +10,13 @@
 # :license: This is Free Software. See LICENSE for license information.
 
 cd ~/releases
-git checkout releases
-rm -f torbrowser-* TorBrowser-* tor-browser-*
+git checkout naster
+git branch -D releases
+git push origin --delete releases
+git branch -D torbrowser-releases
+git push github --delete torbrowser-releases
+
+git fetch --all --prune
 
 for row in $(
     curl -s 'https://aus1.torproject.org/torbrowser/update_3/release/downloads.json' |
@@ -43,3 +48,9 @@ for row in $(
       fi
     fi;
 done
+
+rclone delete gdrive:releases
+
+for f in $(ls); do
+  rclone copy $f gdrive:releases
+done





More information about the tor-commits mailing list