A composer plugin to help making releases.
- Your project uses
git
composer require --dev egabor/composer-release-plugin
After installation a new release
command should appear in the list of available commands.
If you need more information about the command and how to use it, you should read:
composer release --help
There are some configuration options:
use-prefix: use 'v' to prefix the release version number (default: true)
release-branch: name of the branch where the releases originated from (default: master)
These options can be set in the project's composer.json file, under the extra.egabor-release
key, like:
{
"name": "vendor/package",
"require-dev": {
"egabor/composer-release-plugin": "^1.0"
},
"extra": {
"egabor-release": {
"release-branch": "release",
"use-prefix": false
}
}
}