C# Класс GitVersion.VersionCalculation.NextVersionCalculator

Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
FindVersion ( GitVersionContext context ) : SemanticVersion
GetBranchSpecificTag ( EffectiveConfiguration configuration, string branchFriendlyName, string branchNameOverride ) : string
NextVersionCalculator ( IBaseVersionCalculator baseVersionCalculator = null, IMetaDataCalculator metaDataCalculator = null ) : System

Приватные методы

Метод Описание
AggregateMergeCommitIncrement ( GitVersionContext context, Commit commit, List directCommits, SemanticVersion mainlineVersion ) : SemanticVersion
FindMainlineModeVersion ( BaseVersion baseVersion, GitVersionContext context ) : SemanticVersion
FindMessageIncrement ( GitVersionContext context, Commit mergeCommit, Commit mergedHead, Commit findMergeBase, List commitLog ) : VersionField
GetMainlineTip ( GitVersionContext context ) : Commit
GetMergedHead ( Commit mergeCommit ) : Commit
IncrementForEachCommit ( GitVersionContext context, List directCommits, SemanticVersion mainlineVersion ) : SemanticVersion
MajorMinorPatchEqual ( SemanticVersion lastTag, SemanticVersion baseVersion ) : bool
PerformIncrement ( GitVersionContext context, BaseVersion baseVersion ) : SemanticVersion
UpdatePreReleaseTag ( GitVersionContext context, SemanticVersion semanticVersion, string branchNameOverride ) : void

Описание методов

FindVersion() публичный Метод

public FindVersion ( GitVersionContext context ) : SemanticVersion
context GitVersionContext
Результат SemanticVersion

GetBranchSpecificTag() публичный статический Метод

public static GetBranchSpecificTag ( EffectiveConfiguration configuration, string branchFriendlyName, string branchNameOverride ) : string
configuration EffectiveConfiguration
branchFriendlyName string
branchNameOverride string
Результат string

NextVersionCalculator() публичный Метод

public NextVersionCalculator ( IBaseVersionCalculator baseVersionCalculator = null, IMetaDataCalculator metaDataCalculator = null ) : System
baseVersionCalculator IBaseVersionCalculator
metaDataCalculator IMetaDataCalculator
Результат System