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.4.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.4-py3-none-any.whl (2.9 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: bmpv-0.1.4.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.4.tar.gz
Algorithm Hash digest
SHA256 a0276a7d29a5b0b4cdd2582199f6cb0578c9b43b6fadac24ca8111113716bf9e
MD5 a45daba2d63b27ce1d614215e412a34f
BLAKE2b-256 a21902b51bea08fe39f6f2adaf3f37bbb2f34322b46812422db3f31feebf8973

See more details on using hashes here.

File details

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

File metadata

  • Download URL: bmpv-0.1.4-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.4-py3-none-any.whl
Algorithm Hash digest
SHA256 bcde4f2230e610cf02702115d6416ff59821defcbb062d7661fe6d756e03792e
MD5 68ef33917e45c2de76d9f9a64a01a4f8
BLAKE2b-256 0fe0c5665813bdc520caf988155b3c92e997b356ea213df6278e6ff3f95c88b2

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