src/Robo/Commands/Deploy/DeployCommand.php
protected function getDefaultBranchName() {
    chdir($this->getConfigValue('repo.root'));
    $git_current_branch = trim(shell_exec("git rev-parse --abbrev-ref HEAD"));
    $default_branch = $git_current_branch . '-build';

    return $default_branch;
  }
protected function getDefaultBranchName() {
    chdir($this->getConfigValue('repo.root'));
    $git_current_branch = trim(shell_exec("git rev-parse --abbrev-ref HEAD"));
    $default_branch = $git_current_branch . '-build';

    return $default_branch;
  }
protected function getDefaultBranchName ( ) { chdir ( $ this -> getConfigValue ( 'repo.root' ) ) ; $ git_current_branch = trim ( shell_exec ( "git rev-parse --abbrev-ref HEAD" ) ) ; $ default_branch = $ git_current_branch . '-build' ; return $ default_branch ; }
Gets the default branch name for the deployment artifact.
Gets the default branch name for the deployment artifact .