Add automatic update of version in pyproject.toml#23
Conversation
There was a problem hiding this comment.
Pull request overview
This PR configures semantic-release automation to automatically update the version in pyproject.toml during releases, addressing issue #16 and preparing for PyPI publication (issue #15). The configuration adds a new .releaserc.json file that defines the release workflow with multiple plugins, and updates the GitHub Actions workflow to use a newer version of the reusable release workflow with additional parameters for PyPI integration.
Changes:
- Added
.releaserc.jsonconfiguration file with semantic-release plugins for version management, GitHub releases, and PyPI integration - Updated
.github/workflows/release.ymlto use v1.4.0-r.2 of the reusable workflow and added PYPI_TOKEN secret and plugins parameter
Reviewed changes
Copilot reviewed 2 out of 2 changed files in this pull request and generated 6 comments.
| File | Description |
|---|---|
.releaserc.json |
New semantic-release configuration defining branch strategy (main/develop), plugin chain for automated versioning, and PyPI integration settings |
.github/workflows/release.yml |
Updated to newer workflow version, added PyPI token secret, and specified semantic-release-pypi plugin |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
There was a problem hiding this comment.
Pull request overview
Copilot reviewed 2 out of 2 changed files in this pull request and generated 2 comments.
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
This solves #16 and prepares for #15 by making it configurable.