Skip to content

Commit

Permalink
appveyor: fetch the backup if deployment failed
Browse files Browse the repository at this point in the history
appveyor often fails to update releases atm..
  • Loading branch information
lazka committed Feb 24, 2020
1 parent 9d8725b commit 506a563
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion appveyor.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,10 @@

set -e

curl --fail -o srcinfo.json -L 'https://github.com/msys2/msys2-web/releases/download/cache/srcinfo.json' || curl --fail -o srcinfo.json -L 'https://github.com/msys2/msys2-web/releases/download/cache/srcinfo_backup.json'

git clone https://github.com/msys2/MINGW-packages
git clone https://github.com/msys2/MSYS2-packages
curl --fail -o srcinfo.json -L 'https://github.com/msys2/msys2-web/releases/download/cache/srcinfo.json'

n=0
until [ $n -ge 5 ]
Expand Down

0 comments on commit 506a563

Please sign in to comment.