src/Rocketeer/Services/Connections/Shell/Modules/Flow.php
public function updateSymlink($release = null)
    {
        // If the release is specified, update to make it the current one
        if ($release) {
            $this->releasesManager->setNextRelease($release);
        }

        // Get path to current/ folder and latest release
        $currentReleasePath = $this->releasesManager->getCurrentReleasePath();
        $currentFolder = $this->paths->getCurrentFolder();

        return $this->modulable->symlink($currentReleasePath, $currentFolder);
    }
public function updateSymlink($release = null)
    {
        // If the release is specified, update to make it the current one
        if ($release) {
            $this->releasesManager->setNextRelease($release);
        }

        // Get path to current/ folder and latest release
        $currentReleasePath = $this->releasesManager->getCurrentReleasePath();
        $currentFolder = $this->paths->getCurrentFolder();

        return $this->modulable->symlink($currentReleasePath, $currentFolder);
    }
public function updateSymlink ( $ release = null ) { // If the release is specified, update to make it the current one if ( $ release ) { $ this -> releasesManager -> setNextRelease ( $ release ) ; } // Get path to current/ folder and latest release $ currentReleasePath = $ this -> releasesManager -> getCurrentReleasePath ( ) ; $ currentFolder = $ this -> paths -> getCurrentFolder ( ) ; return $ this -> modulable -> symlink ( $ currentReleasePath , $ currentFolder ) ; }
Update the current symlink.

@param int|null $release A release to mark as current

@return string
Update the current symlink .