bumping-0.5.2
توضیحات
Python tool to calculate SemVer based on conventional git commit messages.
| ویژگی | مقدار |
|---|---|
| سیستم عامل | - |
| نام فایل | bumping-0.5.2 |
| نام | bumping |
| نسخه کتابخانه | 0.5.2 |
| نگهدارنده | [] |
| ایمیل نگهدارنده | [] |
| نویسنده | wqy |
| ایمیل نویسنده | qiyingwangwqy@gmail.com |
| آدرس صفحه اصلی | https://github.com/WqyJh/bumping |
| آدرس اینترنتی | https://pypi.org/project/bumping/ |
| مجوز | - |
# Bumping
[](https://travis-ci.org/WqyJh/bumping)
[](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
نیازمندی
| مقدار | نام |
|---|---|
| - | gitpython |
| - | click |
نحوه نصب
نصب پکیج whl bumping-0.5.2:
pip install bumping-0.5.2.whl
نصب پکیج tar.gz bumping-0.5.2:
pip install bumping-0.5.2.tar.gz