public function releaseStart($options = ['semversion' => null, 'type' => 'minor'])
    {
        if (empty($options['semversion'])) {
            $version = $this->getVersion()
                ->increment($options['type']);
        } else {
            $version = $options['semversion'];
        }
        return $this->taskReleaseStart((string)$version)->run();
    }
public function releaseStart($options = ['semversion' => null, 'type' => 'minor'])
    {
        if (empty($options['semversion'])) {
            $version = $this->getVersion()
                ->increment($options['type']);
        } else {
            $version = $options['semversion'];
        }
        return $this->taskReleaseStart((string)$version)->run();
    }
public function releaseStart ( $ options = [ 'semversion' => null , 'type' => 'minor' ] ) { if ( empty ( $ options [ 'semversion' ] ) ) { $ version = $ this -> getVersion ( ) -> increment ( $ options [ 'type' ] ) ; } else { $ version = $ options [ 'semversion' ] ; } return $ this -> taskReleaseStart ( ( string ) $ version ) -> run ( ) ; }
Start a new release

@option string $semversion Version number
@option string $type    Relase type (minor, major)
Start a new release