Quickly release by relying on git flow and tagging a new relase.
php artisan release
You can install the package via composer --dev:
composer require weble/release-command --dev
You can publish the config file with:
php artisan vendor:publish --tag="release-command-config"
This is the contents of the published config file:
<?php
return [
/**
* Path or name of the git executable
*/
'git_bin' => 'git',
/**
* Which version to bump by default
* Can be 'patch', 'minor', 'major'
*/
'default_version_bump' => 'patch',
/**
* Name of the git remote where we need to push (default to 'origin')
*/
'git_remote_name' => 'origin',
/**
* Push to origin default
*/
'push_to_origin' => true,
];
php artisan release
or with a specific version
php artisan release --release-version=1.2.3
composer test
Please see CHANGELOG for more information on what has changed recently.
Please see CONTRIBUTING for details.
Please review our security policy on how to report security vulnerabilities.
The MIT License (MIT). Please see License File for more information.