Skip to main content

git-version-sync

PyPI - Version npm - Version License: MIT

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

Finsa-SC

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)

Source distribution for git-version-sync 1.17.0
File Size Uploaded
git_version_sync-1.17.0.tar.gz 24.4 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for git-version-sync 1.17.0
File Interpreter ABI Platform
git_version_sync-1.17.0-py3-none-any.whl Python 3 none any Details

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 log

Release 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 log

Release history Release notifications | RSS feed

This release

1.17.0 This release

2 release files

1.11.0

2 release files

1.10.0

2 release files

1.9.0

2 release files

1.8.1

2 release files

1.7.0

2 release files

1.6.0

2 release files

1.5.0

2 release files

1.4.1

2 release files

1.4.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page