Skip to content

Commit

Permalink
Builder\Runner: fixed bug; new stable VersionInfo se vytvarel s datum…
Browse files Browse the repository at this point in the history
…em commitu misto s datumem tagu
  • Loading branch information
PetrP committed Apr 4, 2014
1 parent 1dafd2f commit ef1ea93
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Builder/inc/Runner.php
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,8 @@ protected function createVersionInfo($mode, $version)
}
else if ($mode === self::NEW_STABLE)
{
$info = new VersionInfo($this->git, false, $version);
$info = new VersionInfo($this->git, false, 'detect');
if ($info->tag !== $version) throw new \Exception;
if (!$info->isStable()) throw new \Exception;
}
else
Expand Down

0 comments on commit ef1ea93

Please sign in to comment.