#10 - Make sure maintenance branches are only created for GA releases.

This commit is contained in:
Oliver Gierke
2016-02-12 15:28:40 +01:00
parent 121cd8fe80
commit e8ac26f917

View File

@@ -132,12 +132,16 @@ public class ReleaseCommands implements CommandMarker {
git.commit(iteration, "After release cleanups.");
// Prepare maintenance branches
git.checkout(iteration);
git.createMaintenanceBranches(iteration);
if (iteration.getIteration().isGAIteration()) {
build.updateProjectDescriptors(iteration, Phase.MAINTENANCE);
build.prepareVersions(iteration, Phase.MAINTENANCE);
git.commit(iteration, "Prepare next development iteration.");
git.createMaintenanceBranches(iteration);
build.updateProjectDescriptors(iteration, Phase.MAINTENANCE);
build.prepareVersions(iteration, Phase.MAINTENANCE);
git.commit(iteration, "Prepare next development iteration.");
git.checkout(iteration);
}
}
/**