Shorter timeout on transfer.sh upload to avoid timeouts

Uploads are quite fast or don't work, so don't wait too much.
This commit is contained in:
Ale Martinez
2020-08-20 17:03:01 -03:00
parent 39feb5807c
commit 6cdd5bbbe7

View File

@@ -63,7 +63,7 @@ aws s3 rm s3://goldencheetah-binaries/MacOS --recursive # keep only the last one
aws s3 cp --acl public-read $FINAL_NAME s3://goldencheetah-binaries/MacOS/$FINAL_NAME
aws s3 cp --acl public-read GCversionMacOS.txt s3://goldencheetah-binaries/MacOS/GCversionMacOS.txt
else
curl --max-time 150 --upload-file $FINAL_NAME https://transfer.sh/$FINAL_NAME
curl --max-time 60 --upload-file $FINAL_NAME https://transfer.sh/$FINAL_NAME
fi
echo "Make sure we are back in the Travis build directory"