Upload Travis-ci builds to free.keep.sh instead of transfer.sh

[skip appveyor]
transfer.sh service has become very unreliable and it is being
phased out on oct-30, according to the public site announcement.
free.keep.sh offers free uploads up to 500MB with a similar service,
limited to 24hr storage, enough to download build artifacts.
This commit is contained in:
Ale Martinez
2020-10-25 11:33:26 -03:00
parent e77096df35
commit 83a50db2cb
2 changed files with 2 additions and 2 deletions

View File

@@ -92,7 +92,7 @@ aws s3 rm s3://goldencheetah-binaries/Linux --recursive # keep only the last one
aws s3 cp --acl public-read $FINAL_NAME s3://goldencheetah-binaries/Linux/$FINAL_NAME
aws s3 cp --acl public-read GCversionLinux.txt s3://goldencheetah-binaries/Linux/GCversionLinux.txt
else
curl --max-time 300 --upload-file $FINAL_NAME https://transfer.sh/$FINAL_NAME
curl --max-time 300 --upload-file $FINAL_NAME https://free.keep.sh/$FINAL_NAME
fi
cd ${TRAVIS_BUILD_DIR}

View File

@@ -71,7 +71,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 300 --upload-file $FINAL_NAME https://transfer.sh/$FINAL_NAME
curl --max-time 300 --upload-file $FINAL_NAME https://free.keep.sh/$FINAL_NAME
fi
echo "Make sure we are back in the Travis build directory"