I18n - Fixes for translations during build (#2251)

This commit is contained in:
Ryan Holmes
2020-08-02 18:52:55 -04:00
committed by GitHub
parent 362d081338
commit 32a03dedaa
5 changed files with 10 additions and 2 deletions

14
scripts/osx-package.sh Normal file
View File

@@ -0,0 +1,14 @@
#!/usr/bin/env bash
echo "Pyfa version (ENV):"
echo "${PYFA_VERSION}"
echo "Pyfa version (YAML):"
cat version.yml
echo "Building distributive..."
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"