Merged
Conversation
Co-authored-by: razeghi71 <razeghi71@gmail.com>
|
Cursor Agent can help with this pull request. Just |
Co-authored-by: razeghi71 <razeghi71@gmail.com>
Co-authored-by: razeghi71 <razeghi71@gmail.com>
Co-authored-by: razeghi71 <razeghi71@gmail.com>
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.
Add GitHub Actions for automated semver tagging, GitHub releases, and PyPI publishing to streamline the release process.
This PR introduces two GitHub Actions workflows:
semver-tag-and-release.yml: On PR merge, it readsmajor/minor/patchlabels to compute the nextvX.Y.Ztag, pushes it, and creates a GitHub Release with auto-generated notes.release-pypi.yml: Onv*tag pushes, it builds the package and publishes it to PyPI using the secure OIDC "Trusted Publisher" method.Additionally, the project's versioning has been switched to be tag-derived via
hatch-vcs, removing the need for manual version updates inpyproject.tomlandburf/__init__.py. TheREADME.mdhas been updated with instructions on the new release process and PyPI Trusted Publisher setup.Note
Automates releases and shifts versioning to tags.
semver-tag-and-release.ymlto computevX.Y.Zfrom PR labels on merge, push the tag, and create a GitHub Release (auto notes)release-pypi.ymlto build withuvand publish to PyPI via Trusted Publishing (OIDC) onv*tagspyproject.tomlnow usesdynamic = ["version"], addshatch-vcsto build-system, and configures[tool.hatch.version]burf/__init__.pyto read__version__fromimportlib.metadatawith a fallback for source checkoutsDEVELOPMENT.mdwith local setup and the new release processWritten by Cursor Bugbot for commit c761f56. This will update automatically on new commits. Configure here.