Skip to main content

Add your description here

Project description

bmpv

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

Usage

bmpv <file_path> <major|minor|patch>
  • <file_path>: Path to the file containing the version string.
  • <major|minor|patch>: Specify which part of the version to bump.

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

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for bmpv-0.1.3.tar.gz
Algorithm Hash digest
SHA256 a548e1362a80ec304cabb9ec45e92c6e68d27593de1742276a36e6fd87ac288f
MD5 a785d65be890619dac7a2edc759489e1
BLAKE2b-256 1a65f2c3e3d104c2cfbe275df91cb9728df7d97f2f67be2e456d361a47b30450

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for bmpv-0.1.3-py3-none-any.whl
Algorithm Hash digest
SHA256 4b6616c9f0ba6d9d40e4a04f2350fed9109aa1ea60fd579cda38338bdcd764bc
MD5 8b71bf22da034a7b64734fa12674cbf1
BLAKE2b-256 5f0afac76feb2eb01dc7aaf4741c2fb00fed755442c316ce78422c8015c2c354

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