Permalink
Browse files

Fix another bug

  • Loading branch information...
1 parent 1ddd4e9 commit e49ac44245c6b9cbfabdb1af6ed2fcbec933dce1 @beberlei beberlei committed Feb 21, 2013
Showing with 3 additions and 1 deletion.
  1. +3 −1 bin/build-apidocs.php
View
4 bin/build-apidocs.php
@@ -25,6 +25,8 @@
continue;
}
+ $url = $projectDetails['browse_source_link'];
+
$tagData = json_decode(file_get_contents("https://api.github.com/repos/doctrine/" . $projectDetails['repository'] . "/tags"), true);
if ( ! $tagData) {
continue;
@@ -48,7 +50,7 @@ function ($highestVersion, $testVersion) {
);
$checkout = $lastTag['name'];
- $url = $versionData['browse_source_link'];
+
$path = "source/$project";
if (is_dir($path)) {
$updateSourceCmd = sprintf("cd %s && git pull && git checkout %s", $path, $checkout);

0 comments on commit e49ac44

Please sign in to comment.