git-version-sync
A CLI tool to synchronize semantic versions between Git tags and project configuration files.
Links: Repository · PyPI · npm · Issues
Quick Start
# Install (choose one)
pip install git-version-sync # Python/PyPI
npm install -g git-version-sync # Node.js/npm
# Use it
cd your-project
git-version-sync bump # Interactive bump
git-version-sync bump -p -r # Bump + push + release
Features
- Check version status and consistency
- Sync version discrepancies between config and Git tags
- Bump versions (major, minor, patch, auto) with semantic versioning
- Push to remote with optional GitHub releases
- Undo version bumps with automatic rollback on error
- Auto-detect multiple config files (pyproject.toml, package.json, Cargo.toml, docker-compose.yaml, and more)
- Auto-generate changelog from conventional commits
- Multi-config support - bump multiple files atomically
- Protected branches aware with automatic rollback
- Dry-run mode to preview before executing
Documentation
| Topic | Link |
|---|---|
| Installation | PyPI, npm, from source |
| Configuration | Supported files, auto-detection |
| Usage | Commands reference |
| Examples | Single-config, multi-config, GitHub releases |
| Troubleshooting | Common issues and solutions |
Common Commands
# Check version status
git-version-sync check
# Bump and preview
git-version-sync bump --dry-run
# Bump + push to remote
git-version-sync bump minor -p
# Bump + push + create GitHub release
git-version-sync bump minor -p -r "New features"
# Undo last bump
git-version-sync undo
License
MIT - See LICENSE file for details
Author
Metadata
Release files for git-version-sync 1.17.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| git_version_sync-1.17.0.tar.gz | 24.4 kB | With provenance | Details for git_version_sync-1.17.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| git_version_sync-1.17.0-py3-none-any.whl | Python 3 | none | any | Details for git_version_sync-1.17.0-py3-none-any.whl |
Total release size: 60.3 kB
Release files / git_version_sync-1.17.0.tar.gz
| Download URL | git_version_sync-1.17.0.tar.gz |
|---|---|
| Size | 24.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
98b54bdfedf193aa1d9362f1eb421faa48108be118c340588995526db5bd89f8
|
|
BLAKE2b-256 checksum How to use checksums |
7ddc698ba34b366ad5c2a63cbd487f3508445965f43655d6eca83cdf6892299d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Oct 10, 2026.
Transparency logRelease files / git_version_sync-1.17.0-py3-none-any.whl
| Download URL | git_version_sync-1.17.0-py3-none-any.whl |
|---|---|
| Size | 35.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
6305057a3e9d4f6d9c90961be524d58d769c8b9f6958e31b0ed80f03722ce22d
|
|
BLAKE2b-256 checksum How to use checksums |
b93921a380d93ade7996bbdfafe97b838fe59a92fe4c84b6350d1575610ca5d6
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Oct 10, 2026.
Transparency logSecurity for git-version-sync 1.17.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
Full provenance
Both files in this release have been uploaded with provenance metadata.
Attestation for git_version_sync-1.17.0.tar.gz
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Oct 10, 2026.
Transparency logA note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.