Commit efaf79de authored by Hiro's avatar Hiro 🏄
Browse files

Fix script

parent 34a26941
......@@ -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
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment