예제 #1
0
 public BuildNumberCalculator(
     NextSemverCalculator nextSemverCalculator,
     LastTaggedReleaseFinder lastTaggedReleaseFinder,
     IRepository gitRepo)
 {
     this.nextSemverCalculator    = nextSemverCalculator;
     this.lastTaggedReleaseFinder = lastTaggedReleaseFinder;
     this.gitRepo = gitRepo;
 }
예제 #2
0
 public NextSemverCalculator(
     NextVersionTxtFileFinder nextVersionTxtFileFinder,
     LastTaggedReleaseFinder lastTaggedReleaseFinder,
     GitVersionContext context)
 {
     this.nextVersionTxtFileFinder   = nextVersionTxtFileFinder;
     this.lastTaggedReleaseFinder    = lastTaggedReleaseFinder;
     mergedBranchesWithVersionFinder = new MergedBranchesWithVersionFinder(context);
     unknownBranchFinder             = new OtherBranchVersionFinder();
     this.context = context;
 }
 public NextSemverCalculator(
     NextVersionTxtFileFinder nextVersionTxtFileFinder,
     LastTaggedReleaseFinder lastTaggedReleaseFinder,
     GitVersionContext context)
 {
     this.nextVersionTxtFileFinder = nextVersionTxtFileFinder;
     this.lastTaggedReleaseFinder = lastTaggedReleaseFinder;
     mergedBranchesWithVersionFinder = new MergedBranchesWithVersionFinder(context);
     unknownBranchFinder = new OtherBranchVersionFinder();
     this.context = context;
 }
예제 #4
0
 public BuildNumberCalculator(NextSemverCalculator nextSemverCalculator, LastTaggedReleaseFinder lastTaggedReleaseFinder, IRepository gitRepo)
 {
     this.nextSemverCalculator = nextSemverCalculator;
     this.lastTaggedReleaseFinder = lastTaggedReleaseFinder;
     this.gitRepo = gitRepo;
 }