Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add build and release job #6

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

TheGuyDanish
Copy link

@TheGuyDanish TheGuyDanish commented Jun 8, 2024

Similar to #5 but uses pyinstaller

This will build and publish the binaries to a release, covering Windows, MacOS and Linux (the latter built on Ubuntu).

Current funniness:

  • I was going to use zip -r -j on Linux and MacOS to dump the paths, but doing so breaks MacOS .app files. I don't work enough with them to know what the elegant workaround is.
  • As a result, I've decided, for uniformity, to include the dist/ folder in each release zip.
  • This only builds on tags, but I figured that'd be preferable.
  • For L42 I was going to use if: matrix.os == 'ubuntu-latest' || 'macos-latest' but this also made it run on Windows in my testing. I'm not sure why.

An example can be found here: https://github.com/TheGuyDanish/farm-upload/releases/tag/v0.0.19

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant