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.16.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.16.0
File Size Uploaded
git_version_sync-1.16.0.tar.gz 21.6 kB Details

Built distribution (wheel)

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

Total release size: 56.2 kB

Release files / git_version_sync-1.16.0.tar.gz

Download URL git_version_sync-1.16.0.tar.gz
Size 21.6 kB
Tags Source
SHA-256 checksum
How to use checksums
ee4798a657e7cd4681ae4a5d0f105085e881ff7d553a771dbaa927e53604bc7e
BLAKE2b-256 checksum
How to use checksums
7c8ccd6a4f3862fea69693dc07cfc3945a036754ed62a8a49def80387bec197c
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 7, 2026.

Transparency log

Release files / git_version_sync-1.16.0-py3-none-any.whl

Download URL git_version_sync-1.16.0-py3-none-any.whl
Size 34.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
8f875452fb948f398d0d91cccb96841eaec448d505b4fb3b09f129224e5e318d
BLAKE2b-256 checksum
How to use checksums
bd827ef052b7512a4846b9b7cff26f5d4fd8d5af521e325f531d2c05b651a83d
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 7, 2026.

Transparency log

Release history Release notifications | RSS feed

1.17.0

2 release files

This release

1.16.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