Add GitHub Release workflow for tagged versions - #42
Merged
Conversation
Publish desktop installers and Python artifacts when a vX.Y.Z tag is pushed. Desktop builds stay reusable so a manual workflow_dispatch still produces installers without creating a release. Co-authored-by: Damon <Modsofthenation@users.noreply.github.com>
|
Important Review available on request
Reviews should be triggered manually for repositories with fewer than 10 stars. Select Trigger review above or comment ⚙️ Run configurationConfiguration used: defaults Review profile: CHILL Plan: Pro Plus Run ID: Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
Modsofthenation
marked this pull request as ready for review
August 17, 2026 11:48
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Pushing a
vX.Y.Ztag now publishes a GitHub Release with desktop installers and a Python wheel/sdist.How it works
packaging/release_meta.pyfails the job ifpyproject.toml,__init__.py, and the threepackage.jsonfiles disagree, or if the tag is notv{version}.workflow_call) so Release can reuse the existing Linux/Windows/macOS matrix. Manual Run workflow still builds installers without creating a release.release.yml) builds those installers pluspython -m build, thengh release createwith generated notes.git push origin v0.1.0rc/a/b/dev/-The workflow does not create tags. Tag a green
mainafter this lands; the tagged commit must includerelease.yml.macOS installers stay unsigned (right-click → Open).
Test plan
pytest tests/unit/test_release_meta.pyv0.1.0(or a draft dispatch) and confirm assets attach: AppImage, deb, dmg, mac zip, exe, wheel, sdist