Skip to main content

Version bumper for software projects.

Project description

python3-cyberfusion-yavb

YAVB is a CLI tool to bump versions and update changelogs.

Supported systems:

  • PyProject (Python)
  • Debian

It was built by Cyberfusion with two main purposes:

  • Automatically bump SemVer version for multiple projects in bulk
  • Bump versions for multiple systems simultaneously (e.g. Python packages distributed on PyPI and as Debian packages)

Install

Debian

Run the following commands to build a Debian package:

mk-build-deps -i -t 'apt -o Debug::pkgProblemResolver=yes --no-install-recommends -y'
dpkg-buildpackage -us -uc

PyPI

Run the following command to install the package from PyPI:

pip3 install python3-cyberfusion-yavb

Configure

No configuration is supported.

Usage

All examples assume that your projects are in the directory projects/.

⚠️ Quote glob characters (such as *). Otherwise, the shell might expand them.

Example: increment patch (SemVer) for PyProject

yavb --system pyproject \
  --bump patch \
  --directory projects/your-project/

Example: increment minor (SemVer) for Debian and PyProject, on Debian

yavb --system debian --system pyproject \
  --bump minor \
  --directory projects/your-project/ \
  --changelog 'Make this project great again' \
  --name 'John Doe' \
  --email 'john@example.com'

Example: increment minor (SemVer) for Debian, on non-Debian

Changing Debian packaging requires Debian, which you can run inside a Docker container.

Build the Docker container:

docker build -f Dockerfile.Debian -t yavb-debian .

Run the Docker container:

docker run --rm -t -v $(pwd)/projects/:/projects -w /projects yavb-debian \
  --system debian \
  --bump minor \
  --directory your-project/ \
  --changelog 'Make this project great again' \
  --name 'John Doe' \
  --email 'john@example.com'

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

python3_cyberfusion_yavb-1.1.tar.gz (4.6 kB view details)

Uploaded Source

Built Distribution

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

python3_cyberfusion_yavb-1.1-py3-none-any.whl (5.7 kB view details)

Uploaded Python 3

File details

Details for the file python3_cyberfusion_yavb-1.1.tar.gz.

File metadata

  • Download URL: python3_cyberfusion_yavb-1.1.tar.gz
  • Upload date:
  • Size: 4.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.11

File hashes

Hashes for python3_cyberfusion_yavb-1.1.tar.gz
Algorithm Hash digest
SHA256 4a732f28b7b1b6679a41ef2c57d3c5780fd03490e8bb88e389fa52c7115ee44a
MD5 e16f09a2a2f2bb0f7f1aed1519adbe24
BLAKE2b-256 1ca2e5f6befeca95c11ac0282542c48806679aca7c9bb380ae23bb9c8a7527a4

See more details on using hashes here.

File details

Details for the file python3_cyberfusion_yavb-1.1-py3-none-any.whl.

File metadata

File hashes

Hashes for python3_cyberfusion_yavb-1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 585547033aec1ff556ff52c133fc61b0b746c9606bc73f11137773b09dd7bef3
MD5 7797ebd5305a4ab9c7056da0b7167383
BLAKE2b-256 67e515aa3eb541de8e3aeffe6e5931f05ee2174914e5cff725212b0bb9839224

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