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
98875110
Commit
98875110
authored
Aug 31, 2019
by
Hiro
🏄
Browse files
Modify update_files
parent
11362362
Changes
1
Hide whitespace changes
Inline
Side-by-side
scripts/update_files
View file @
98875110
...
...
@@ -10,7 +10,6 @@
# :license: This is Free Software. See LICENSE for license information.
cd
~/releases
git checkout
-B
releases
rm
-f
torbrowser-
*
TorBrowser-
*
tor-browser-
*
for
row
in
$(
...
...
@@ -24,24 +23,22 @@ for row in $(
)
;
if
[[
$r
=
*
[!
\
]
*
]]
;
then
wget
$r
git fetch
--all
git checkout
-B
releases
git add
.
git commit
-m
'[dist ci] commit from CI runner - update with new torbrowser downloads'
diffs
=
$(
git diff origin/releases
)
if
[
-z
"
$diffs
"
]
;
then
echo
"No new releases"
else
git push
-f
--follow-tags
origin releases
fi
git checkout
-b
torbrowser-releases
diffs
=
$(
git diff github/torbrowser-releases
)
if
[
-z
"
$diffs
"
]
;
then
echo
"No new releases"
else
git push
-f
--follow-tags
github torbrowser-releases
fi
fi
;
done
git add
.
git commit
-m
'[dist ci] commit from CI runner - update with new torbrowser downloads'
diffs
=
$(
git diff origin/releases
)
if
[
-z
"
$diffs
"
]
;
then
echo
"No new releases"
else
git push
-f
--follow-tags
origin releases
fi
git fetch
--all
git checkout
-b
torbrowser-releases
diffs
=
$(
git diff github/torbrowser-releases
)
if
[
-z
"
$diffs
"
]
;
then
echo
"No new releases"
else
git push
-f
--follow-tags
github torbrowser-releases
fi
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