janalis / bumpversion
A small command line tool aiming to simplify releasing process by updating all version strings in your source code by the correct increment.
Installs: 0
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 2
Forks: 0
Open Issues: 0
Type:project
Requires
- php: ^7.1.3
- symfony/console: 4.3.*
- symfony/finder: 4.3.*
- symfony/process: ^4.3
- symfony/yaml: 4.3.*
Requires (Dev)
- friendsofphp/php-cs-fixer: ^2.15
- phpunit/phpunit: ^8.2
- symfony/var-dumper: ^4.3
This package is auto-updated.
Last update: 2025-03-01 00:27:51 UTC
README
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
- peritus/bumpversion Original program that inspired this project
- quazardous/php-bump-version An other php version bumper
Contribute
This project uses symfony coding standard.
Contributions are welcomed!