Easy version incrementing CLI tool
Project description
verbump
Easy version incrementing CLI tool.
- Automatic relative version bump
- Automatic
git commitandgit tag - Regex based version pattern
- Using
semverstyle
Installation
pip install verbump
Usage
- Create the configuration file
.verbump.iniinside your project's root directory. - Run
verbump
verbump [major|minor|patch|build]
Relative bump
verbump minor
Configuration
Available keys for .verdump.ini :
pattern: {string} Version pattern regex (required)commit: {boolean} Enables git auto-committag: {boolean} Enables git auto-tagcommit_format: {string} Auto-commit message format. default isv%stag_format: {string} Auto-tag name format. default isv%s
Configuration samples
Generic VERSION file:
[file:VERSION]
pattern = (\d+.\d+.\d+(?:.\d+)?)*
Generic VERSION file, git auto-commit & auto-tag enabled:
[file:VERSION]
commit = true
tag = true
pattern = (\d+.\d+.\d+(?:.\d+)?)*
Nodejs package.json :
[file:package.json]
pattern = "version"\s*:\s*"(\d+.\d+.\d+(?:.\d+)?)"\s*,
Python __version__ style:
[file:mymodule/__init__.py]
pattern = __version__\s*=\s*(?:"|')(\d+.\d+.\d+(?:.\d+)?)(?:"|')
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
verbump-0.2.4.tar.gz
(3.8 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 verbump-0.2.4.tar.gz.
File metadata
- Download URL: verbump-0.2.4.tar.gz
- Upload date:
- Size: 3.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.9.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f6dc32a859381e3fd1fdfc842320bce248efa468b4e0911e07fda72828426459
|
|
| MD5 |
daebcc182a3db745b9469350ab33f1af
|
|
| BLAKE2b-256 |
4438f891053b8c6aa7e88367d7ecbb3fa80996791a3bc61c2016501a40cba510
|
File details
Details for the file verbump-0.2.4-py3-none-any.whl.
File metadata
- Download URL: verbump-0.2.4-py3-none-any.whl
- Upload date:
- Size: 4.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.9.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c3f178560c445be13e566bb375ac795b3f31cf5a8f273f3ef4835a079f15f0e2
|
|
| MD5 |
4640f68f34d1e341d522daaf766aab22
|
|
| BLAKE2b-256 |
9331c51121f63cb7eb7d9ad937b6e0544feb4f51d8f67c1b2d8a024b76f84f80
|