This is a no-dependencies PHP ^7.1
commandline tool that helps with releasing semantically
versioned composer packages or projects, directly inspired by npm version.
composer-version [options] <new-version> | major | minor | patch
-h, --help Show this help text
-f, --file Path to composer.json file, default to ./composer.json
-p, --push Push commit and tag to remote origin
composer global require korri/composer-version
Then add ~/.composer/vendor/bin/
to your $PATH
if it is not already there.
Run test suite
composer install # Install dev dependencies
composer test