private function publishEverything()
    {
        $root = basename($this->cwd);
        $path = $this->cwd.'/'.$this->projectsDir;
        $version = $this->getNextVersion($this->cwd);

        $this->info("Publish root project '{$root}' (git login)");
        $this->exec('publish', 'publish-root-project', [$version]);

        foreach (scandir($path) as $name) {
            if ($name[0] != '.' && is_dir($path.'/'.$name)) {
                $version = $this->getNextVersion($path.'/'.$name);

                echo "\n";
                $this->info("Publish project '{$name}' (git login)");
                $this->exec('publish', 'publish-project', [$name, $version]);
            }
        }
    }
private function publishEverything()
    {
        $root = basename($this->cwd);
        $path = $this->cwd.'/'.$this->projectsDir;
        $version = $this->getNextVersion($this->cwd);

        $this->info("Publish root project '{$root}' (git login)");
        $this->exec('publish', 'publish-root-project', [$version]);

        foreach (scandir($path) as $name) {
            if ($name[0] != '.' && is_dir($path.'/'.$name)) {
                $version = $this->getNextVersion($path.'/'.$name);

                echo "\n";
                $this->info("Publish project '{$name}' (git login)");
                $this->exec('publish', 'publish-project', [$name, $version]);
            }
        }
    }
private function publishEverything ( ) { $ root = basename ( $ this -> cwd ) ; $ path = $ this -> cwd . '/' . $ this -> projectsDir ; $ version = $ this -> getNextVersion ( $ this -> cwd ) ; $ this -> info ( "Publish root project '{$root}' (git login)" ) ; $ this -> exec ( 'publish' , 'publish-root-project' , [ $ version ] ) ; foreach ( scandir ( $ path ) as $ name ) { if ( $ name [ 0 ] != '.' && is_dir ( $ path . '/' . $ name ) ) { $ version = $ this -> getNextVersion ( $ path . '/' . $ name ) ; echo "\n" ; $ this -> info ( "Publish project '{$name}' (git login)" ) ; $ this -> exec ( 'publish' , 'publish-project' , [ $ name , $ version ] ) ; } } }
Publish everythings.
Publish everythings .