PHP code example of weble / release-command

1. Go to this page and download the library: Download weble/release-command library. Choose the download type require.

2. Extract the ZIP file and open the index.php.

3. Add this code to the index.php.
    
        
<?php
require_once('vendor/autoload.php');

/* Start to develop here. Best regards https://php-download.com/ */

    

weble / release-command example snippets

 artisan release



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,
    
    /**
     * Push the tags as well
     */
    'push_tags' => true,
];


php artisan release

php artisan release --release-version=1.2.3
bash
php artisan vendor:publish --tag="release-command-config"