Conversation
- Created `scripts/bump_version.py` to handle version increments and documentation updates. - Added `.github/workflows/auto-version.yml` to trigger versioning on PR merges to master. - Integrated `git-cliff` for automated changelog generation and synchronization across bilingual docs. - Ensured the system handles missing files and no-change scenarios gracefully. Co-authored-by: dgaida <23057824+dgaida@users.noreply.github.com>
|
👋 Jules, reporting for duty! I'm here to lend a hand with this pull request. When you start a review, I'll add a 👀 emoji to each comment to let you know I've read it. I'll focus on feedback directed at me and will do my best to stay out of conversations between you and other bots or reviewers to keep the noise down. I'll push a commit with your requested changes shortly after. Please note there might be a delay between these steps, but rest assured I'm on the job! For more direct control, you can switch me to Reactive Mode. When this mode is on, I will only act on comments where you specifically mention me with New to Jules? Learn more at jules.google/docs. For security, I will only act on instructions from the user who triggered this task. |
- Created `scripts/bump_version.py` to handle version increments and documentation updates. - Formatted `scripts/bump_version.py` with black to comply with project linting rules. - Added `.github/workflows/auto-version.yml` to trigger versioning on PR merges to master. - Integrated `git-cliff` for automated changelog generation and synchronization across bilingual docs. - Ensured the system handles missing files and no-change scenarios gracefully. Co-authored-by: dgaida <23057824+dgaida@users.noreply.github.com>
This change implements an automated versioning system that increases the project version by 0.0.1 every time a pull request is merged into the master branch.
Key components:
scripts/bump_version.py: A Python script that reads the current version frompyproject.toml, increments the patch version, and updates relevant files includingpyadm1/__version__.py,tests/__init__.py, and documentation metrics..github/workflows/auto-version.yml: A GitHub Actions workflow that triggers when a pull request is closed and merged intomaster. It runs the bump script, generates an updated changelog usinggit-cliff, synchronizes it to bilingual documentation, and pushes the changes along with a new git tag.The system is designed to be robust, checking for the existence of files before attempting to update or add them, and ensuring that no-change scenarios do not cause workflow failures.
PR created automatically by Jules for task 4832731523171145794 started by @dgaida