Download the PHP package quazardous/php-bump-version without Composer
On this page you can find all versions of the php package quazardous/php-bump-version. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download quazardous/php-bump-version
More information about quazardous/php-bump-version
Files in quazardous/php-bump-version
Package php-bump-version
Short Description PHP Bump version and other GIT helpers
License MIT
Informations about the package php-bump-version
PHP Bump version and other GIT helpers
(c) Quazardous [email protected]
What for ?
Provides some "helper" commands for GIT
users to conform with http://nvie.com/posts/a-successful-git-branching-model/.
So bump_version
pays attention to GIT operations you may want to do on your master
or develop
branches.
It will display the GIT commands you should use to keep your branches in a correct state. In day to day use, you should just have to copy/paste these commands... It's not much but I've found it usefull and I like to share !
bump_version
assume that develop
and master
are correctly setup with origin
for git push
and git pull
.
Install
Usage
bump
A basic version bumper.
After version bumping, bump_version bump
will display a list of GIT
commands you should use to complete your release.
Example to bump a minor version (like 0.1.2 to 0.1.3):
More info on Semantic Versioning.
merge_into
Merge for the lazy one.
Displays the commands to merge the current branch to the target branch and checks if you may have to pull/push.
Example to merge current branch to develop branch:
merge_from
Merge for the lazy one.
Displays the commands to merge the target branch into the current branch and checks if you may have to pull/push.
Example to merge develop branch to current branch:
Config
At first use, bump_version
will ask you to configure your project and will store this config in .bump-version.php
.
You can edit this file, it contains some bonus options :p