#32 - Allow enforcing to build milestone releases on a branch.

Train has now a method withAlwaysUseBranch(…) to define that milestone releases are supposed to be build from a branch, too.

Introduced Kay release train using that new flag and setting up a customized Iteration chain including a second milestone.
This commit is contained in:
Oliver Gierke
2016-11-24 15:22:21 +01:00
parent b14bda81ca
commit ac1273856c
7 changed files with 41 additions and 17 deletions

View File

@@ -25,10 +25,10 @@ public class SimpleIterationVersion implements IterationVersion {
/*
* (non-Javadoc)
* @see org.springframework.data.release.model.IterationVersion#isServiceIteration()
* @see org.springframework.data.release.model.IterationVersion#isBranchVersion()
*/
@Override
public boolean isServiceIteration() {
public boolean isBranchVersion() {
return iteration.isServiceIteration();
}
}