Skip to content

Commit

Permalink
v2.0
Browse files Browse the repository at this point in the history
  • Loading branch information
Paolo-Beci committed Apr 30, 2024
1 parent 3fe004d commit 0a6be4c
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,17 +37,18 @@ jobs:
matrix:
include:
- os: macos-latest
# MEMO TODO: Add version number to the app name, zip does not supports dots, you have to use - instead
TARGET: macos
CMD_BUILD: >
pyinstaller -F -w -n SerialToUdpTranslator-${{ github.ref_name }}-Mac-x64 -i resources/icon.icns main.py &&
pyinstaller -F -w -n SerialToUdpTranslator-Mac-x64 -i resources/icon.icns main.py &&
cd dist/ &&
zip -r9 SerialToUdpTranslator-${{ github.ref_name }}-Mac-x64 SerialToUdpTranslator-${{ github.ref_name }}-Mac-x64.app/
OUT_FILE_NAME: SerialToUdpTranslator-${{ github.ref_name }}-Mac-x64.zip
zip -r9 SerialToUdpTranslator-Mac-x64 SerialToUdpTranslator-Mac-x64.app/
OUT_FILE_NAME: SerialToUdpTranslator-Mac-x64.zip
ASSET_MIME: application/zip
- os: windows-latest
TARGET: windows
CMD_BUILD: pyinstaller -F -w -n SerialToUdpTranslator-${{ github.ref_name }}-Win-x64 -i resources/icon.ico main.py
OUT_FILE_NAME: SerialToUdpTranslator-Win-${{ github.ref_name }}-x64.exe
OUT_FILE_NAME: SerialToUdpTranslator-${{ github.ref_name }}-Win-x64.exe
ASSET_MIME: application/vnd.microsoft.portable-executable
- os: ubuntu-latest
TARGET: linux
Expand Down

0 comments on commit 0a6be4c

Please sign in to comment.