public BuildNumberCalculator( NextSemverCalculator nextSemverCalculator, LastTaggedReleaseFinder lastTaggedReleaseFinder, IRepository gitRepo) { this.nextSemverCalculator = nextSemverCalculator; this.lastTaggedReleaseFinder = lastTaggedReleaseFinder; this.gitRepo = gitRepo; }
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 BuildNumberCalculator(NextSemverCalculator nextSemverCalculator, LastTaggedReleaseFinder lastTaggedReleaseFinder, IRepository gitRepo) { this.nextSemverCalculator = nextSemverCalculator; this.lastTaggedReleaseFinder = lastTaggedReleaseFinder; this.gitRepo = gitRepo; }