Version Manager. CLI tool to help you manage your package versioning.
Project description
VerMa
Version Manager. CLI tool to help you manage your package versioning.
Install
Use pip
to install the package from Pypi:
pip install verma
Using the CLI tool
After installing Verma, verma
command will be enabled in your CLI. This command has a subcommand bump
that can be used to bump the current version that can be read from the last git tag that it finds in the repo. You can pass parameters to bump
subcommand, such as:
-p, --patch-pattern
: The regex pattern to be searched in the last commit to bump the patch version.-m, --minor-pattern
: The regex pattern to be searched in the last commit to bump the minor version.-M, --major-pattern
: The regex pattern to be searched in the last commit to bump the major version.
Some examples using verma bump [OPTIONS]
:
verma bump -p "(fix):" -m "(feat):" -M "BREAKING CHANGES!:"
verma bump --patch-pattern "(fix):" --minor-pattern "(feat):" --major-pattern "BREAKING CHANGES!:"
You can pass multiple patterns for each version level:
verma bump -p "(fix):" -m "(feat):" -p "fix:" -m "feat:" -M "BREAKING CHANGES!:"
Verma will bump the version level of the highest version level's pattern that was matched in last commit.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file verma-0.1.1.tar.gz
.
File metadata
- Download URL: verma-0.1.1.tar.gz
- Upload date:
- Size: 3.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/4.0.2 CPython/3.11.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0cc58503e7e3c1eb8c63cd16148ce0fe8a01c18820d2a8846d848009628e226d |
|
MD5 | 5a6e3a8e52906696d6236d2b1d5b890b |
|
BLAKE2b-256 | 927f190afde50ff01ee484aff998b3230ec56e0c46faca0d8ca3aa934db2b0b8 |
File details
Details for the file verma-0.1.1-py3-none-any.whl
.
File metadata
- Download URL: verma-0.1.1-py3-none-any.whl
- Upload date:
- Size: 2.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/4.0.2 CPython/3.11.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | b65993fc04ccf953366e606bffd89df3a2fb75926126d4c016b31f7cf1981b6b |
|
MD5 | e375c92556dec60af6dc744c6ae3fabb |
|
BLAKE2b-256 | 2470469e395e41fe891443850a1c3d7b46c6e1e2f39ee3ada50e373467c47547 |