Skip to main content

verbump

pypi

Easy version incrementing CLI tool.

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

Installation

pip install verbump

Usage

  1. Create the configuration file .verbump.ini inside your project's root directory.
  2. 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-commit
  • tag: {boolean} Enables git auto-tag
  • commit_format: {string} Auto-commit message format. default is v%s
  • tag_format: {string} Auto-tag name format. default is v%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)

Source distribution for verbump 0.2.4
File Size Uploaded
verbump-0.2.4.tar.gz 3.8 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for verbump 0.2.4
File Interpreter ABI Platform
verbump-0.2.4-py3-none-any.whl Python 3 none any Details

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

Release history Release notifications | RSS feed

This release

0.2.4 This release

2 release files

0.2.3

2 release files

0.2.2

2 release files

0.2.1

2 release files

0.2.0

2 release files

0.1.3

2 release files

0.1.2

2 release files

0.1.1

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page