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.

Source Distribution

foliantcontrib.bump-1.0.2.tar.gz (2.5 kB view details)

Uploaded Source

Built Distribution

foliantcontrib.bump-1.0.2-py3-none-any.whl (2.8 kB view details)

Uploaded Python 3

File details

Details for the file foliantcontrib.bump-1.0.2.tar.gz.

File metadata

  • Download URL: foliantcontrib.bump-1.0.2.tar.gz
  • Upload date:
  • Size: 2.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.11.0 pkginfo/1.4.2 requests/2.19.1 setuptools/39.0.1 requests-toolbelt/0.8.0 tqdm/4.24.0 CPython/3.7.0

File hashes

Hashes for foliantcontrib.bump-1.0.2.tar.gz
Algorithm Hash digest
SHA256 faafb02c4f828dda00d0ce3bd764f12267ffd82da74f40ef5be61de7ff955014
MD5 a63a5cccc856f74ec095944c43aa2788
BLAKE2b-256 dbe6075392c6978ce71c55c6600fd39fbdd2d64f79eeeec7ea6524c31685cd5d

See more details on using hashes here.

File details

Details for the file foliantcontrib.bump-1.0.2-py3-none-any.whl.

File metadata

  • Download URL: foliantcontrib.bump-1.0.2-py3-none-any.whl
  • Upload date:
  • Size: 2.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.11.0 pkginfo/1.4.2 requests/2.19.1 setuptools/39.0.1 requests-toolbelt/0.8.0 tqdm/4.24.0 CPython/3.7.0

File hashes

Hashes for foliantcontrib.bump-1.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 d14761ccd2ec6e56e35507f7d4803ba98be5e1aaf2e271fe93a3d439df13dc10
MD5 bba550a139bca2770ae6d4e9488cb2a2
BLAKE2b-256 d726ec1db76993a2810e2c6eaa82e20b81361f484652a27252227f1fea1b8808

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page