Пример #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;
 }