mirror of
https://github.com/torproject/gettor.git
synced 2025-02-16 08:47:59 +00:00
Fix script
This commit is contained in:
parent
34a2694165
commit
efaf79de52
@ -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')
|
||||
|
||||
|
||||
|
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user