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

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



commit 404786b46a1d21c7febebf65f69dd6977a4c6a32
Author: hiro <hiro@xxxxxxxxxxxxxx>
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"

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