GitLab is used only for code review, issue tracking and project management. Canonical locations for source code are still and

Commit cbec2735 authored by Cecylia Bocovich's avatar Cecylia Bocovich
Browse files

Removed git commands from update_files script

We now have a separate script for both GitLab and Github endpoints.
parent 8260a79d
......@@ -3,26 +3,17 @@
# This file is part of GetTor, a Tor Browser distribution system.
# :authors: hiro <>
# cecylia <>
# see also AUTHORS file
# :copyright: (c) 2008-2019, The Tor Project, Inc.
# :license: This is Free Software. See LICENSE for license information.
# Updates all the files in all the endpoints.
# Updates tor browser binaries at Google Drive and Internet Archive
cd ~/releases
git checkout master
git branch -D torbrowser-releases
git fetch --all --prune
git add .
git commit -am 'Create release branch'
git checkout -b torbrowser-releases
git push -f --follow-tags origin torbrowser-releases
rclone delete gdrive:releases
rclone cleanup gdrive:releases
......@@ -36,17 +27,7 @@ for row in $(
tr -d '",'
if [[ $r = *[!\ ]* ]]; then
# Update GitLab
git fetch --all
wget $r
git add .
git commit -m '[dist ci] commit from CI runner - update with new torbrowser downloads'
diffs=$(git diff origin/torbrowser-releases)
if [ -z "$diffs" ]; then
echo "No new releases"
git push -f --follow-tags origin torbrowser-releases
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