Skip to main content

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

verma-0.1.1.tar.gz (3.0 kB view hashes)

Uploaded Source

Built Distribution

verma-0.1.1-py3-none-any.whl (2.7 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page