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.5.tar.gz (2.4 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.5-py3-none-any.whl (2.9 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for bmpv-0.1.5.tar.gz
Algorithm Hash digest
SHA256 f5f1e27adb0328acdb1d10e15fb5903a1add6caf4c4021af6e578f23ac0c2f69
MD5 16969fc696421de51c126b45ebae8035
BLAKE2b-256 dfcdf23ee6e1aa8c3d3cb7dd01065984efc55aab681066d4d80ca86985dc13fa

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for bmpv-0.1.5-py3-none-any.whl
Algorithm Hash digest
SHA256 bf632ab5968fa9265d2753c8683dd2b298aa3fed5edfefd63ebe40190cf8b53b
MD5 50edcbf628e234cab1add4bd7cb9b2b1
BLAKE2b-256 2220d07e5c2c87c64c9daf44c0f0115db34f2877835525379d25f56a8b1798de

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