Skip to content

Implement Automated Versioning System#7

Merged
dgaida merged 2 commits intomasterfrom
automated-versioning-system-4832731523171145794
Feb 21, 2026
Merged

Implement Automated Versioning System#7
dgaida merged 2 commits intomasterfrom
automated-versioning-system-4832731523171145794

Conversation

@dgaida
Copy link
Copy Markdown
Owner

@dgaida dgaida commented Feb 21, 2026

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:

  1. scripts/bump_version.py: A Python script that reads the current version from pyproject.toml, increments the patch version, and updates relevant files including pyadm1/__version__.py, tests/__init__.py, and documentation metrics.
  2. .github/workflows/auto-version.yml: A GitHub Actions workflow that triggers when a pull request is closed and merged into master. It runs the bump script, generates an updated changelog using git-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

- 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>
@google-labs-jules
Copy link
Copy Markdown
Contributor

👋 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 @jules. You can find this option in the Pull Request section of your global Jules UI settings. You can always switch back!

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>
@dgaida dgaida merged commit 383b15e into master Feb 21, 2026
7 checks passed
@dgaida dgaida deleted the automated-versioning-system-4832731523171145794 branch February 21, 2026 08:00
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