Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Cecylia Bocovich
gettor
Commits
e4ccf5f4
Commit
e4ccf5f4
authored
Sep 06, 2019
by
Hiro
🏄
Browse files
Script update_files should update to gdrive too
parent
3bcd5eac
Changes
1
Hide whitespace changes
Inline
Side-by-side
scripts/update_files
View file @
e4ccf5f4
...
...
@@ -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
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment