Skip to main content

Easy version incrementing CLI tool

Project description

verbump

Easy version incrementing CLI tool.

  • Automatic relative version detect and bump
  • Automatic git commit and git tag
  • Regex based configuration
  • Using semver style

Installation

pip install verbump

Usage

  1. Create .verbump.ini inside your project's root directory and put the configuration inside it.
  2. Run verbump
verbump [major|minor|patch|build]

Relative bump

verbump minor

Configuration samples

Generic VERSION file:

[file:VERSION]
pattern = (\d+.\d+.\d+(?:.\d+)?)*

Generic VERSION file + GIT auto-commit & auto-tag:

[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.1.2.tar.gz (2.0 kB view hashes)

Uploaded Source

Built Distribution

verbump-0.1.2-py3-none-any.whl (1.9 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