* Do not garbage collect releases.

This commit is contained in:
Eelco Dolstra 2009-10-26 12:47:29 +00:00
parent 1038e2ebee
commit 69f290413c

View file

@ -74,6 +74,13 @@ foreach my $project ($db->resultset('Projects')->all) {
}
}
# Keep every build in every release in this project.
print STDERR "*** keeping releases in project ", $project->name, "\n"
if scalar $project->releases > 0;
foreach my $release ($project->releases->all) {
print STDERR "keeping release ", $release->name, "\n";
keepBuild $_->build foreach $release->releasemembers;
}
}