Use built-in curl timeouts instead of coreutils

This commit is contained in:
DarkPhoenix
2019-11-27 16:35:22 +03:00
parent 763a7714ed
commit 7a77d12686

View File

@@ -6,6 +6,6 @@ cat version.yml
python3 -m PyInstaller -y --clean --windowed dist_assets/mac/pyfa.spec
cd dist
zip -r "pyfa-$PYFA_VERSION-mac.zip" pyfa.app
gtimeout 300 curl --upload-file "pyfa-$PYFA_VERSION-mac.zip" https://transfer.sh/ || echo 'upload to transfer.sh failed'
curl --connect-timeout 30 --max-time 300 --upload-file "pyfa-$PYFA_VERSION-mac.zip" https://transfer.sh/ || echo 'upload to transfer.sh failed'
echo -e "\n"
md5 -r "pyfa-$PYFA_VERSION-mac.zip"