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

Script update_files should delete branches and prune repository before uploading files

parent adb92c40
......@@ -25,7 +25,7 @@ for row in $(
if [[ $r = *[!\ ]* ]]; then
wget $r
git fetch --all
git checkout releases
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)
......@@ -34,8 +34,7 @@ for row in $(
git push -f --follow-tags origin releases
git checkout torbrowser-releases
git merge releases
git checkout -b torbrowser-releases
diffs=$(git diff github/torbrowser-releases)
if [ -z "$diffs" ]; then
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