luiscoms / release
PHP library to increment package version and release project
0.0.3
2016-02-25 14:20 UTC
Requires
- naneau/semver: ^0.0.7
- symfony/console: ^3.0
Requires (Dev)
- mikey179/vfsstream: ~1.6
- phpunit/phpunit: ^4.8
- satooshi/php-coveralls: ~1.0
This package is not auto-updated.
Last update: 2025-01-10 22:54:01 UTC
README
Lightweight library to update package version according Semantic Versioning. Aditionally can create git tag, commit and push
Installation
composer require luiscoms/release dev-master
Usage
Let's consider the composer.json
file
{ "version": "0.0.1", "require": { "luiscoms/release": "dev-master" } }
To view current version
vendor/bin/release [current]
0.0.1
To update patch
vendor/bin/release bump --patch|--bugfix
0.0.2
To update minor
vendor/bin/release bump --minor|--feature
0.1.0
To update major
vendor/bin/release bump --major
1.0.0