Skip to content

Commit

Permalink
Try steam upload more often
Browse files Browse the repository at this point in the history
  • Loading branch information
def- committed Jun 28, 2023
1 parent 01074ab commit fee4fae
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions release/build-and-deploy.sh
Original file line number Diff line number Diff line change
Expand Up @@ -109,8 +109,11 @@ fi
if [ ! -d "/home/deen/isos/ddnet/steam/macos" ]; then
sed -i "/412224/d" tmp.vdf
fi
# Try twice, fails sporadically sometimes
steamcmd +login deen_ddnet "$(cat pass)" +run_app_build /home/deen/isos/ddnet/steamcmd/tmp.vdf +quit || (sleep 1m; steamcmd +login deen_ddnet "$(cat pass)" +run_app_build /home/deen/isos/ddnet/steamcmd/tmp.vdf +quit)
# Try a few times, fails sporadically sometimes
repeat 10 {
steamcmd +login deen_ddnet "$(cat pass)" +run_app_build /home/deen/isos/ddnet/steamcmd/tmp.vdf +quit && break
sleep 1m
}

cd ..
rm -rf builds/* DDNet-$VERSION* steam/* ddnet-source

0 comments on commit fee4fae

Please sign in to comment.