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
3dba52b3
Commit
3dba52b3
authored
Sep 28, 2019
by
Hiro
🏄
Browse files
Update file script
parent
b1470f9a
Changes
1
Hide whitespace changes
Inline
Side-by-side
scripts/update_files
View file @
3dba52b3
...
...
@@ -11,8 +11,6 @@
cd
~/releases
git checkout master
git branch
-D
releases
git push origin
--delete
releases
git branch
-D
torbrowser-releases
git push github
--delete
torbrowser-releases
...
...
@@ -36,18 +34,15 @@ for row in $(
)
;
if
[[
$r
=
*
[!
\
]
*
]]
;
then
git fetch
--all
git checkout releases
wget
$r
git add
.
git commit
-m
'[dist ci] commit from CI runner - update with new torbrowser downloads'
diffs
=
$(
git diff origin/releases
)
diffs
=
$(
git diff origin/
torbrowser-
releases
)
if
[
-z
"
$diffs
"
]
;
then
echo
"No new releases"
else
git push
-f
--follow-tags
origin releases
git push
-f
--follow-tags
origin
torbrowser-
releases
fi
git checkout torbrowser-releases
git merge releases
diffs
=
$(
git diff github/torbrowser-releases
)
if
[
-z
"
$diffs
"
]
;
then
echo
"No new releases"
...
...
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