Commit e4ccf5f4 authored by Hiro's avatar Hiro 🏄
Browse files

Script update_files should update to gdrive too

parent 3bcd5eac
......@@ -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
Please register or sign in to reply
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
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment