[tor-commits] [gettor/master] Fix script

hiro at torproject.org hiro at torproject.org
Fri Sep 27 19:09:38 UTC 2019


commit 404786b46a1d21c7febebf65f69dd6977a4c6a32
Author: hiro <hiro at torproject.org>
Date:   Fri Sep 27 21:09:36 2019 +0200

    Fix script
---
 scripts/update_files | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/scripts/update_files b/scripts/update_files
index 1b4d453..0e84881 100755
--- a/scripts/update_files
+++ b/scripts/update_files
@@ -37,7 +37,7 @@ for row in $(
     if [[ $r = *[!\ ]* ]]; then
       wget $r
       git fetch --all
-      git checkout -b releases
+      git checkout releases
       git add .
       git commit -m '[dist ci] commit from CI runner - update with new torbrowser downloads'
       diffs=$(git diff origin releases)
@@ -46,7 +46,7 @@ for row in $(
       else
           git push -f --follow-tags origin releases
       fi
-      git checkout -b torbrowser-releases
+      git checkout torbrowser-releases
       diffs=$(git diff github torbrowser-releases)
       if [ -z "$diffs" ]; then
           echo "No new releases"



More information about the tor-commits mailing list