Skip to content
Snippets Groups Projects
Commit c4499bda authored by Axel Hahn's avatar Axel Hahn
Browse files

- added: deploy tags

- changed: slect branch is a dropdown (instead of radio list)
- fixed: show stderr on commands
- added stderr output on git commands
parent f33ff73a
Branches
No related tags found
No related merge requests found
...@@ -242,9 +242,11 @@ class vcs implements iVcs { ...@@ -242,9 +242,11 @@ class vcs implements iVcs {
$sGitCmd.='cd "' . $this->_sTempDir . '" && '; $sGitCmd.='cd "' . $this->_sTempDir . '" && ';
} }
// TODO: git 1.9 does needs only the 1st line // TODO: git 1.9 does needs only the line with --tags
$sGitCmd.='git fetch --update-head-ok --depth 1 2>&1 && ' $sGitCmd.=' ( '
.'git fetch --update-head-ok --tags --depth 1 2>&1 && '; . 'git fetch --update-head-ok --tags --depth 1 2>&1 ; '
. 'git fetch --update-head-ok --depth 1 2>&1 '
. ') && ';
} }
$sGitCmd.='git log -1 "' . $this->_sCurrentBranch . '" 2>&1 ; '; $sGitCmd.='git log -1 "' . $this->_sCurrentBranch . '" 2>&1 ; ';
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment