Merged
Conversation
Owner
arthur-debert
commented
Mar 17, 2025
- chore: updated to poetry v2
- put lin inside a src dir
- fix(action): improve action.yml descriptions and streamline poetry installation
- feat(publish): streamline publishing process and remove version determination steps
- chore: update version to 0.9.0 and format pyproject.toml
- feat(publish): enhance PyPI publishing workflow with version extraction and notification
- fixed publishing workflow
…on and notification
Added a publish input parameter to the workflow_dispatch trigger with a default value of true. Renamed the "Publish to PyPI" step to "Build and Publish" to better reflect its purpose. Consolidated the version extraction to use Poetry's version command (poetry version -s) instead of grep, and stored it in the release_version output variable. Updated the GitHub Release step to use the output from the "Build and Publish" step (steps.publish.outputs.release_version). Fixed the annotation to refer to "dotcat" instead of "nanodoc". Removed the separate "Determine Version" step since it's now integrated into the "Build and Publish" step. These changes ensure that: The workflow uses the Poetry version for both PyPI publishing and GitHub release tagging The Twine upload command runs non-interactively with the proper credentials The workflow is more streamlined with fewer steps The task has been completed successfully.
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.