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
efaf79de
Commit
efaf79de
authored
Sep 27, 2019
by
Hiro
🏄
Browse files
Fix script
parent
34a26941
Changes
2
Hide whitespace changes
Inline
Side-by-side
scripts/check_service
View file @
efaf79de
...
...
@@ -61,9 +61,7 @@ def test_email_from_gmail(password):
if
(
MESSAGE_FROM
==
email_from
)
and
(
MESSAGE_SUBJECT
==
email_subject
)
and
(
MESSAGE_BODY
in
email_body
):
mail
.
store
(
str
(
i
),
'+FLAGS'
,
'
\\
Deleted'
)
return
OK
,
"Found correct gettor email."
else
:
print
(
'if not working'
)
mail
.
store
(
str
(
i
),
'+FLAGS'
,
'
\\
Deleted'
)
...
...
scripts/update_files
View file @
efaf79de
...
...
@@ -18,6 +18,13 @@ git push github --delete torbrowser-releases
git fetch
--all
--prune
git add
.
git checkout
-b
torbrowser-releases
git push
-f
--follow-tags
github torbrowser-releases
git checkout git checkout
-b
releases
git push
-f
--follow-tags
origin releases
for
row
in
$(
curl
-s
'https://aus1.torproject.org/torbrowser/update_3/release/downloads.json'
|
jq
-r
'.downloads'
...
...
@@ -33,14 +40,14 @@ for row in $(
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
)
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
)
diffs
=
$(
git diff github
torbrowser-releases
)
if
[
-z
"
$diffs
"
]
;
then
echo
"No new releases"
else
...
...
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