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/.

Example: increment patch (SemVer) for PyProject

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

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

yavb --system debian --system pyproject \
  --bump minor \
  --directory projects/your-project/ projects/other-projects/*/ \
  --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 -t yavb-local .

Run the Docker container:

docker run --rm -t -v $(pwd)/projects/:/projects -w /projects yavb-local \
  yavb \
  --system debian \
  --bump minor \
  --directory your-project/ other-projects/*/ \
  --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.0.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.0-py3-none-any.whl (5.6 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for python3_cyberfusion_yavb-1.0.tar.gz
Algorithm Hash digest
SHA256 81fca25e5223f675174b3fdf4b2b5293cf4a0fcf55bcdc75f9aac860b6c6233a
MD5 ecb218bac0cc112aebfb9c4ab51c2c2c
BLAKE2b-256 d4da2e97ee3f9a4f20dd08d476ced0fa613cc942b353265e76c3324a851eb29c

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for python3_cyberfusion_yavb-1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 36fc1948f10be86d9bd6b360b86ef82bdca3dd35815b0dce93abd7cabdd210a0
MD5 8c4e4c5305ddf607da176f43310b6b61
BLAKE2b-256 9655f501df98c8de5563188b8357284229235ed7b80922b674226fc29a69d4e3

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