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.6.tar.gz (2.6 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.6-py3-none-any.whl (3.0 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for bmpv-0.1.6.tar.gz
Algorithm Hash digest
SHA256 cfdc4e7caf8d7342375906a113b9eb164da04a1d891bafe821f3b6c8ffd2d54f
MD5 bd64286c143a700ba0e77c308488a77c
BLAKE2b-256 81072840212b84422139c349e195eb91662434d57e2c999fcff831e5c755fc20

See more details on using hashes here.

File details

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

File metadata

  • Download URL: bmpv-0.1.6-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.6-py3-none-any.whl
Algorithm Hash digest
SHA256 33f7e31d3f128e14bd243746220a6318418d02f95e4797477a6cfa94d1373789
MD5 b9b53cc707b5229d498ef24c1ca17f8b
BLAKE2b-256 99bf3cdbadd751bd73b7830bf02eada9f12b49015997f8bf284341afbf546cdb

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