Metadata-Version: 2.1
Name: bumping
Version: 0.5.2
Summary: Python tool to calculate SemVer based on conventional git commit messages.
Home-page: https://github.com/WqyJh/bumping
Author: wqy
Author-email: qiyingwangwqy@gmail.com
License: UNKNOWN
Keywords: git,conventionalcommits,SemVer
Platform: UNKNOWN
Classifier: Programming Language :: Python :: 3 :: Only
Description-Content-Type: text/markdown
Requires-Dist: gitpython
Requires-Dist: click

# Bumping

[![Build Status](https://travis-ci.org/WqyJh/bumping.svg?branch=master)](https://travis-ci.org/WqyJh/bumping)
[![license](https://img.shields.io/badge/LICENCE-MIT-brightgreen.svg)](https://raw.githubusercontent.com/WqyJh/bumping/master/LICENSE)

Python tool to calculate SemVer based on conventional git commit messages.

## Prerequisite

- Python >= 3

## Installation

```bash
pip install bumping
```

## Usage

Execute `bumping` and the calculated version would be printed.

```bash
$ bumping
0.1.1
```

Assume the latest version is `0.5.1` and the version tag is `v0.5.1` or `0.5.1`, calculate the incremental version starting from the base revision with the following command, which is really useful for the situation where you didn't use SemVer in the previous versions and want to use it afterwards.

```bash
# Treat tag v0.5.1 as the base version, 
# calculate the incremental version number 
# and plus with 0.5.1.
bumping --base v0.5.1

# Treat master as the base version, version 
# number is 0.5.1, calculate the incremental version
# number and plus with 0.5.1.
bumping --base master --base-version 0.5.1
```

# Changelog


## 0.5.1
#### New Features

* add commit range options
* use click to replace docopt

#### Fixes

* add regex to parse_version
* fix version calculating

## 0.3.0
#### New Features

* add version calculating
* add docopt
* add project structure



