Skip to main content

Version bumper for Foliant projects.

Project description

Version Bumper for Foliant Projects

This CLI extension adds bump command that lets you bump Foliant project semantic version without editing the config manually.

Installation

$ pip install foliantcontrib.bump

Usage

Bump version from "1.0.0" to "1.0.1":

$ foliant bump
Version bumped from 1.0.0 to 1.0.1.

Bump major version:

$ foliant bump -v major
Version bumped from 1.0.1 to 2.0.0.

To see all available options, run foliant bump --help:

$ foliant bump --help
usage: foliant bump [-h] [-v VERSION_PART] [-p PATH] [-c CONFIG]

Bump Foliant project version.

optional arguments:
  -h, --help            show this help message and exit
  -v VERSION_PART, --version-part VERSION_PART
                        Part of the version to bump: major, minor, patch, prerelease, or build (default: patch).
  -p PATH, --path PATH  Path to the directory with the config file (default: ".").
  -c CONFIG, --config CONFIG
                        Name of the config file (default: "foliant.yml").

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for foliantcontrib.bump, version 1.0.2
Filename, size File type Python version Upload date Hashes
Filename, size foliantcontrib.bump-1.0.2-py3-none-any.whl (2.8 kB) File type Wheel Python version py3 Upload date Hashes View hashes
Filename, size foliantcontrib.bump-1.0.2.tar.gz (2.5 kB) File type Source Python version None Upload date Hashes View hashes

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page