Skip to content

Add automatic update of version in pyproject.toml#23

Merged
The0mikkel merged 3 commits intodevelopfrom
feat/automated-release-version
Feb 5, 2026
Merged

Add automatic update of version in pyproject.toml#23
The0mikkel merged 3 commits intodevelopfrom
feat/automated-release-version

Conversation

@The0mikkel
Copy link
Member

This solves #16 and prepares for #15 by making it configurable.

@The0mikkel The0mikkel self-assigned this Feb 5, 2026
Copilot AI review requested due to automatic review settings February 5, 2026 23:07
@The0mikkel The0mikkel linked an issue Feb 5, 2026 that may be closed by this pull request
3 tasks
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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.json configuration file with semantic-release plugins for version management, GitHub releases, and PyPI integration
  • Updated .github/workflows/release.yml to 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.

Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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.

@The0mikkel The0mikkel merged commit a889df6 into develop Feb 5, 2026
9 checks passed
@The0mikkel The0mikkel deleted the feat/automated-release-version branch February 5, 2026 23:25
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.

Automatically insert version into pyproject.toml

1 participant