Metadata-Version: 2.4
Name: gitnextver
Version: 1.0.0
Summary: Automatically bump semantic version tags in Git repositories
Project-URL: Homepage, https://github.com/twardoch/gitnextver
Project-URL: Repository, https://github.com/twardoch/gitnextver
Project-URL: Issues, https://github.com/twardoch/gitnextver/issues
Author-email: Adam Twardoch <adam+github@twardoch.com>
License-Expression: Apache-2.0
License-File: LICENSE
Keywords: bump,git,semver,tag,version
Classifier: Development Status :: 4 - Beta
Classifier: Environment :: Console
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: Apache Software License
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Classifier: Programming Language :: Python :: 3.13
Classifier: Topic :: Software Development :: Version Control :: Git
Requires-Python: >=3.10
Requires-Dist: fire
Requires-Dist: gitpython
Requires-Dist: loguru
Requires-Dist: rich
Description-Content-Type: text/markdown

# gitnextver

Automatically bump semantic version tags in Git repositories.

## Installation

```
pip install gitnextver
```

Or run directly:

```
uvx gitnextver
```

## Usage

```bash
# 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
