forked from lix-project/hydra
* Do not garbage collect releases.
This commit is contained in:
parent
1038e2ebee
commit
69f290413c
|
@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue