Commit 3bfa0776 authored by Hiro's avatar Hiro 🏄
Browse files

Fix script

parent 051336ea
......@@ -35,9 +35,9 @@ for row in $(
tr -d '",'
);
if [[ $r = *[!\ ]* ]]; then
wget $r
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)
......@@ -47,6 +47,7 @@ for row in $(
git push -f --follow-tags origin releases
fi
git checkout torbrowser-releases
git merge releases
diffs=$(git diff github torbrowser-releases)
if [ -z "$diffs" ]; then
echo "No new releases"
......
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