Permalink
Browse files

Use version (tag) instead of branch to determine revision checked out.

  • Loading branch information...
1 parent 875dbd8 commit dcdf06cf51e51b267f9f1e501ef16c33a763de0a @robnoake robnoake committed Nov 7, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 examples/clock/MaidenClockCommon.php
@@ -121,7 +121,7 @@ public function build($environmentName, $version) {
$this->exec("git clone -b {$deploymentBranch} . {$tempBuildPath}");
chdir($tempBuildPath);
$this->exec("git checkout {$version}");
- $revision = $this->exec("git log --pretty=format:%h -b {$deploymentBranch} | head -n1 ", true, true);
+ $revision = $this->exec("git log --pretty=format:%h -b {$version} | head -n1 ", true, true);
$this->exec("git submodule init");
$this->exec("git submodule update");
chdir($currentDirectory);

0 comments on commit dcdf06c

Please sign in to comment.