Skip to content
Browse files

Fix build projects

  • Loading branch information...
1 parent 4545053 commit 9ff1b8469ef92c254889e6a53eb6799b8899ea8f @beberlei beberlei committed Nov 16, 2012
Showing with 2 additions and 5 deletions.
  1. +1 −5 bin/build-projects.php
  2. +1 −0 pages/source/projects.yml
View
6 bin/build-projects.php
@@ -13,7 +13,6 @@
$projects = Yaml::parse($file);
foreach ($projects as $projectName => $projectData) {
- echo "Starting Project " . $projectName . "\n";
$tagData = json_decode(file_get_contents("https://api.github.com/repos/doctrine/" . $projectData['repository'] . "/tags"), true);
if ( ! $tagData) {
@@ -25,12 +24,9 @@
});
foreach ($projectData['versions'] as $version => $versionData) {
- echo "Starting Branch " . $version . "\n";
- $projectData['versions'][$version]['releases'] = array();
+ $projects[$projectName]['versions'][$version]['releases'] = array();
foreach ($tagData as $tag) {
if (strpos($tag['name'], $version) === 0) {
- echo "Preparing " . $tag['name'] . "\n";
-
$release = array(
'package_name' => sprintf($projectData['file'], $projectData['package'], $tag['name']),
'git_checkout_command' => '$ git clone git://github.com/doctrine/' . $projectData['repository'] . '.git ' . $projectData['slug'] . '<br>$ cd ' . $projectData['slug'] . '<br>$ git checkout ' . $tag['name'],
View
1 pages/source/projects.yml
@@ -595,6 +595,7 @@ phpcr_odm:
versions:
'1.0':
stability: alpha
+ releases: []
migrations:
slug: migrations
repository: migrations

0 comments on commit 9ff1b84

Please sign in to comment.
Something went wrong with that request. Please try again.