Build exe.macos as well as the app bundle, and upload them both

This commit is contained in:
Micah Lee 2022-04-03 20:21:14 -07:00
parent 49471a835a
commit fc75458453
No known key found for this signature in database
GPG Key ID: 403C2657CD994F73

View File

@ -200,13 +200,18 @@ jobs:
name: Build OnionShare name: Build OnionShare
command: | command: |
cd ~/project/desktop cd ~/project/desktop
poetry run python ./setup-freeze.py build
poetry run python ./setup-freeze.py bdist_mac poetry run python ./setup-freeze.py bdist_mac
poetry run python ./scripts/build-macos.py cleanup-build poetry run python ./scripts/build-macos.py cleanup-build
- run: - run:
name: Compress name: Compress
command: zip -r ~/onionshare-macos.zip ~/project/desktop/build/OnionShare.app command: |
zip -r ~/onionshare-macos.zip ~/project/desktop/build/exe.macosx-10.9-x86_64-3.9
zip -r ~/onionshare-app-macos.zip ~/project/desktop/build/OnionShare.app
- store_artifacts: - store_artifacts:
path: ~/onionshare-macos.zip path: ~/onionshare-macos.zip
- store_artifacts:
path: ~/onionshare-app-macos.zip
build-snapcraft: build-snapcraft:
docker: docker: