mirror of
https://github.com/GoldenCheetah/GoldenCheetah.git
synced 2026-02-13 16:18:42 +00:00
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:
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user