Skip to main content

Automatically bump semantic version tags in Git repositories

Project description

gitnextver

Automatically bump semantic version tags in Git repositories.

Installation

pip install gitnextver

Or run directly:

uvx gitnextver

Usage

# Bump patch version in current directory
gitnextver

# Specify directory
gitnextver --directory /path/to/repo

# Verbose output
gitnextver --verbose

What it does

  1. Validates you're in a git repository
  2. Stashes uncommitted changes
  3. Pulls from remote with conflict detection
  4. Re-applies stashed changes
  5. Finds the latest vX.Y.Z tag and increments the patch version
  6. Commits all changes, creates the tag, and pushes

Defaults to v1.0.0 if no version tags exist.

License

Apache-2.0

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

gitnextver-1.0.1.tar.gz (12.0 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

gitnextver-1.0.1-py3-none-any.whl (11.2 kB view details)

Uploaded Python 3

File details

Details for the file gitnextver-1.0.1.tar.gz.

File metadata

  • Download URL: gitnextver-1.0.1.tar.gz
  • Upload date:
  • Size: 12.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.11.2 {"installer":{"name":"uv","version":"0.11.2","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

File hashes

Hashes for gitnextver-1.0.1.tar.gz
Algorithm Hash digest
SHA256 7b9e0d7176b43c012862d86b8e1d71efb45d22a66ba182afead168f17de057e5
MD5 940f9d2a92811e26de6055d011236d07
BLAKE2b-256 c98861f74c7774ab87ed39932d6f1192adee94e6f8c89584f17c5e370346257b

See more details on using hashes here.

File details

Details for the file gitnextver-1.0.1-py3-none-any.whl.

File metadata

  • Download URL: gitnextver-1.0.1-py3-none-any.whl
  • Upload date:
  • Size: 11.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.11.2 {"installer":{"name":"uv","version":"0.11.2","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

File hashes

Hashes for gitnextver-1.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 13a135fa4c397d9fe84659e15108b3a116d0302194b20088c7aaa837b8f86f0c
MD5 2add09363df1016bde4c9c03683fff23
BLAKE2b-256 f802703978b1530f79df9e9dbf27fecfb447886b0e67adc5c465e6c2e35ccb1f

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page