-
Notifications
You must be signed in to change notification settings - Fork 7
Add Automated release versioning #8
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
There was a problem hiding this 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 modernizes the versioning strategy for the Agent365 Python SDK by transitioning from a custom date-based versioning system to setuptools-git-versioning, which provides automated semantic versioning based on Git history and tags.
Key changes:
- Implements
setuptools-git-versioningfor automatic version calculation from Git commits and tags - Updates the branching/release strategy to use
release/*branches for official releases - Simplifies the CI pipeline by removing manual version generation logic
- Removes legacy "Kairo" references from copyright headers
Reviewed Changes
Copilot reviewed 7 out of 7 changed files in this pull request and generated 2 comments.
Show a summary per file
| File | Description |
|---|---|
| versioning/pyproject.toml | Configures setuptools-git-versioning with dev templates and version file settings |
| versioning/TARGET-VERSION | Sets base version to 0.1.0 for version calculation |
| setup.py | Updates copyright header, removes Kairo references, replaces custom versioning with environment variable approach |
| replace-version.ps1 | PowerShell script to query current version using setuptools-git-versioning |
| pyproject.toml | Adds setuptools-git-versioning dependency, removes tzdata dependency |
| HOW_TO_SET_A_VERSION.md | Comprehensive documentation for the new Git-based versioning workflow |
| .github/workflows/ci.yml | Updates CI pipeline to calculate versions using setuptools-git-versioning and restrict publishing to release branches |
There was a problem hiding this 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 8 out of 8 changed files in this pull request and generated 2 comments.
No description provided.