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.0.tar.gz (12.2 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.0-py3-none-any.whl (11.1 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: gitnextver-1.0.0.tar.gz
  • Upload date:
  • Size: 12.2 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.0.tar.gz
Algorithm Hash digest
SHA256 7e4e0d907f4b25089b032a96319b64c9cf345cbd3b77488408c97f85c60c4419
MD5 d0e11e8c7fa1583b4398a4af0969795e
BLAKE2b-256 843cfe0dc9758134292a41c66014d03d7662f8c35f8839b610b24a591e6f3613

See more details on using hashes here.

File details

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

File metadata

  • Download URL: gitnextver-1.0.0-py3-none-any.whl
  • Upload date:
  • Size: 11.1 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.0-py3-none-any.whl
Algorithm Hash digest
SHA256 399d8aaa061f58412c9b058d2dd1a6bc2998058c633c2783bba6d24779a47ac5
MD5 d4ee411b82c4214e53fe7fb0cca5619d
BLAKE2b-256 44331324d21bebd8c847070936d199fbba08031509ea4e86417ce40ef64ee4c6

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