Use proper timeout on Mac OS

This commit is contained in:
DarkPhoenix
2019-11-27 16:06:31 +03:00
parent e89f35d654
commit 763a7714ed

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
timeout 300 curl --upload-file "pyfa-$PYFA_VERSION-mac.zip" https://transfer.sh/ || echo 'upload to transfer.sh failed\n'
gtimeout 300 curl --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"