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+)?)(?:"|')
Metadata
Release files for verbump 0.2.4
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| verbump-0.2.4.tar.gz | 3.8 kB | Without provenance | Details for verbump-0.2.4.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| verbump-0.2.4-py3-none-any.whl | Python 3 | none | any | Details for verbump-0.2.4-py3-none-any.whl |
Total release size: 8.3 kB
Release files / verbump-0.2.4.tar.gz
| Download URL | verbump-0.2.4.tar.gz |
|---|---|
| Size | 3.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
f6dc32a859381e3fd1fdfc842320bce248efa468b4e0911e07fda72828426459
|
|
BLAKE2b-256 checksum How to use checksums |
4438f891053b8c6aa7e88367d7ecbb3fa80996791a3bc61c2016501a40cba510
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.1 CPython/3.9.2
|
Release files / verbump-0.2.4-py3-none-any.whl
| Download URL | verbump-0.2.4-py3-none-any.whl |
|---|---|
| Size | 4.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
c3f178560c445be13e566bb375ac795b3f31cf5a8f273f3ef4835a079f15f0e2
|
|
BLAKE2b-256 checksum How to use checksums |
9331c51121f63cb7eb7d9ad937b6e0544feb4f51d8f67c1b2d8a024b76f84f80
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.1 CPython/3.9.2
|
Security for verbump 0.2.4
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.