Skip to content

A small command line tool aiming to simplify releasing process by updating all version strings in your source code by the correct increment.

License

Notifications You must be signed in to change notification settings

janalis/bumpversion

Repository files navigation

Bumpversion

A small command line tool aiming to simplify releasing process by updating all version strings in your source code by the correct increment.

Installation

Require package with composer:

$ composer require --dev janalis/bumpversion

Create a configuration file:

$ bin/bumpversion init

This creates a configuration file bumpversion.yaml

Use

Bump version:

$ bin/bumpversion bump --type=patch

type must be one of patch, minor or major

This increments patch number of version.

Bump version with a pre-release identifier:

$ bin/bumpversion bump --type=major --pre-release=alpha

This increments major number of version and adds a -alpha.1 suffix to version.

Bump version with a custom configuration file:

$ bin/bumpversion bump --configuration=~/bumpversion.yaml

This reads configuration from ~/bumversion.yaml.

Alternatives

Contribute

This project uses symfony coding standard.

Contributions are welcomed!

About

A small command line tool aiming to simplify releasing process by updating all version strings in your source code by the correct increment.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages