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

Fix script

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