Commit 404786b4 authored by Hiro's avatar Hiro 🏄
Browse files

Fix script

parent efaf79de
...@@ -37,7 +37,7 @@ for row in $( ...@@ -37,7 +37,7 @@ for row in $(
if [[ $r = *[!\ ]* ]]; then if [[ $r = *[!\ ]* ]]; then
wget $r wget $r
git fetch --all git fetch --all
git checkout -b releases git checkout releases
git add . git add .
git commit -m '[dist ci] commit from CI runner - update with new torbrowser downloads' git commit -m '[dist ci] commit from CI runner - update with new torbrowser downloads'
diffs=$(git diff origin releases) diffs=$(git diff origin releases)
...@@ -46,7 +46,7 @@ for row in $( ...@@ -46,7 +46,7 @@ for row in $(
else else
git push -f --follow-tags origin releases git push -f --follow-tags origin releases
fi fi
git checkout -b torbrowser-releases git checkout torbrowser-releases
diffs=$(git diff github torbrowser-releases) diffs=$(git diff github torbrowser-releases)
if [ -z "$diffs" ]; then if [ -z "$diffs" ]; then
echo "No new releases" 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