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
- Validates you're in a git repository
- Stashes uncommitted changes
- Pulls from remote with conflict detection
- Re-applies stashed changes
- Finds the latest
vX.Y.Ztag and increments the patch version - Commits all changes, creates the tag, and pushes
Defaults to v1.0.0 if no version tags exist.
License
Apache-2.0
Project details
Release history Release notifications | RSS feed
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)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
7e4e0d907f4b25089b032a96319b64c9cf345cbd3b77488408c97f85c60c4419
|
|
| MD5 |
d0e11e8c7fa1583b4398a4af0969795e
|
|
| BLAKE2b-256 |
843cfe0dc9758134292a41c66014d03d7662f8c35f8839b610b24a591e6f3613
|
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
399d8aaa061f58412c9b058d2dd1a6bc2998058c633c2783bba6d24779a47ac5
|
|
| MD5 |
d4ee411b82c4214e53fe7fb0cca5619d
|
|
| BLAKE2b-256 |
44331324d21bebd8c847070936d199fbba08031509ea4e86417ce40ef64ee4c6
|