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