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.1.tar.gz
(12.0 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.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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
7b9e0d7176b43c012862d86b8e1d71efb45d22a66ba182afead168f17de057e5
|
|
| MD5 |
940f9d2a92811e26de6055d011236d07
|
|
| BLAKE2b-256 |
c98861f74c7774ab87ed39932d6f1192adee94e6f8c89584f17c5e370346257b
|
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
13a135fa4c397d9fe84659e15108b3a116d0302194b20088c7aaa837b8f86f0c
|
|
| MD5 |
2add09363df1016bde4c9c03683fff23
|
|
| BLAKE2b-256 |
f802703978b1530f79df9e9dbf27fecfb447886b0e67adc5c465e6c2e35ccb1f
|