Store package as an appveyor artifact

This commit is contained in:
DarkPhoenix
2021-06-08 20:55:10 +03:00
parent 83ea548c4d
commit 0991124d5f
2 changed files with 2 additions and 3 deletions

View File

@@ -20,6 +20,8 @@ for:
- sh: python3 db_update.py
- sh: export PYFA_VERSION="$(python3 scripts/dump_version.py)"
- sh: bash scripts/osx-package.sh
artifacts:
- path: pyfa*-mac.zip
before_deploy:
- sh: export RELEASE_PKG_FILE=$(ls *.deb)
- sh: echo "deploying $RELEASE_PKG_FILE to GitHub releases"

View File

@@ -8,7 +8,4 @@ python3 -m PyInstaller -y --clean --windowed dist_assets/mac/pyfa.spec
echo "Compressing distributive..."
cd dist
zip -r "pyfa-$PYFA_VERSION-mac.zip" pyfa.app
echo "Uploading distributive to transfer.sh..."
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"