Skip to content

ci: release with python semantic release - #3

Merged
yeiichi merged 1 commit into
mainfrom
codex-use-psr-release
Aug 1, 2026
Merged

ci: release with python semantic release#3
yeiichi merged 1 commit into
mainfrom
codex-use-psr-release

Conversation

@yeiichi

@yeiichi yeiichi commented Aug 1, 2026

Copy link
Copy Markdown
Owner

Summary

Updates the release workflow so Python Semantic Release owns version bumps, changelog updates, tagging, and GitHub release creation.

Details

  • Changes the PyPI workflow from manual tag-triggered publishing to a main-branch release workflow.
  • Runs Python Semantic Release after commits land on main.
  • Lets PSR update pyproject.toml, update CHANGELOG.rst, create the release commit, create the version tag, and create the GitHub release.
  • Publishes to PyPI with Trusted Publishing only when PSR actually creates a release.
  • Adds an explicit PSR build command that builds and checks wheel/sdist artifacts.
  • Makes RST changelog behavior explicit:
    • mode = "update"
    • changelog_file = "CHANGELOG.rst"
    • output_format = "rst"
    • insertion marker matches the existing CHANGELOG.rst marker.

Testing

Validated locally:

uv run --with pytest pytest
uv run --with python-semantic-release semantic-release --noop version

@yeiichi
yeiichi merged commit 4cfacc5 into main Aug 1, 2026
4 checks passed
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