Skip to main content

A cloudmesh command to bump the version in cloudmesh projects

Project description

The cloudmesh bumpversion command

GitHub Repo](https://github.com/cloudmesh/cloudmesh-bumpversion) image image License

General badge GitHub issues Contributors General badge

Linux macOS Windows

see cloudmesh.cmd5

::

Usage: bumpversion patch bumpversion minor bumpversion major bumpversion info bumpversion set --version=VERSION bumpversion --config=YAML --version=VERSION

Manages bumping the version for cloudmesh

Arguments: VERSION the version number to set YAML the yaml file name

Options: --version=VERSION the version number to set --config=YAML the YAML FILE

Description:

this program modifies the following files.

It reads the VERSION form the ./VERSION file
the number is of the form MAYOR.MINOR.PATCH
It increase the specified number
It writes the number to the files
./VERSION
./cloudmesh/cloudmesh-PACKAGE/__version__.py

> cms bumpversion patch
>    increments the third number

> cms bumpversion minor
>    increments the second number

> cms bumpversion mayor
>    increments the first number

> cms bumpversion info
>    lists the numbers and identifies if one of them is wrong

> cms bumpversion set --version=VERSION
>   sets the version number to the spcified number

> cms bumpversion --config=YAML --version=VERSION
>   sets the versions in the files specifed in the yaml file

> Example: bumpversion.yaml
>
> bumpversion:
> - cloudmesh/bumpversion/__version__.py
> - VERSION

Timer: 0.0031s Load: 0.2415s help bumpversion

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

cloudmesh-bumpversion-5.0.23.tar.gz (8.8 kB view hashes)

Uploaded Source

Built Distribution

cloudmesh_bumpversion-5.0.23-py2.py3-none-any.whl (7.7 kB view hashes)

Uploaded Python 2 Python 3

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