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

Update file script

parent b1470f9a
......@@ -11,8 +11,6 @@
cd ~/releases
git checkout master
git branch -D releases
git push origin --delete releases
git branch -D torbrowser-releases
git push github --delete torbrowser-releases
......@@ -36,18 +34,15 @@ for row in $(
if [[ $r = *[!\ ]* ]]; then
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)
diffs=$(git diff origin/torbrowser-releases)
if [ -z "$diffs" ]; then
echo "No new releases"
git push -f --follow-tags origin releases
git push -f --follow-tags origin torbrowser-releases
git checkout torbrowser-releases
git merge 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