Skip to main content

Add your description here

Project description

bmpv

A simple command line tool for bumping the version of your project.

Usage

Usage:
        bmpv <file> <part>

        <file> Path to the file containing the version string.
        <part> Part to increment: major, minor, or patch.

Options:
        -v, --version   Show version information
        -h, --help      Show this help message

The program will search your code for a line that looks something like a semantic version number:

"1.2.3"

It will parse out the major, minor and patch parts and increment the appropriate digits.

Version Part Current Version New Version
patch A.B.C A.B.C+1
minor A.B.C A.B+1.0
major A.B.C A+1.0.0

Installation

You can install using uv:

uv tool install bmpv

You can run without installing:

uv tool run bmpv

On Windows, this tool is distributed via scoop (see scoop.sh).

First, you need to add my bucket:

scoop bucket add maciak https://github.com/maciakl/bucket
scoop update

Next simply run:

scoop install bmpv

If you don't want to use scoop you can simply download the executable from the release page and extract it somewhere in your path.

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

bmpv-0.1.7.tar.gz (2.7 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

bmpv-0.1.7-py3-none-any.whl (3.0 kB view details)

Uploaded Python 3

File details

Details for the file bmpv-0.1.7.tar.gz.

File metadata

  • Download URL: bmpv-0.1.7.tar.gz
  • Upload date:
  • Size: 2.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.8.3

File hashes

Hashes for bmpv-0.1.7.tar.gz
Algorithm Hash digest
SHA256 2b2c0cc5d03b02e8d52ea20e05977e922ffa6bbff42f70cb2487a6638ea4595a
MD5 029b226139438de52a4556fc001334b3
BLAKE2b-256 849a6bdf431513f8b268f5655ff1296ce209a5c57589f508344daa6105947f14

See more details on using hashes here.

File details

Details for the file bmpv-0.1.7-py3-none-any.whl.

File metadata

  • Download URL: bmpv-0.1.7-py3-none-any.whl
  • Upload date:
  • Size: 3.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.8.3

File hashes

Hashes for bmpv-0.1.7-py3-none-any.whl
Algorithm Hash digest
SHA256 1b66094e310017d3383fa0489071767f7ba36d75331e80a08a77fa2c2bd51c9b
MD5 d6bf994e498a8a1debeabaa7b1e22176
BLAKE2b-256 27a97a09f6a1fb4f633453061639bff136aa8aef6e8fd2d5ad59d50ecb9c9eb7

See more details on using hashes here.

Supported by

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