C# Класс GitVersion.VersionCalculation.BaseVersionCalculators.VersionInBranchNameBaseVersionStrategy

Version is extracted from the name of the branch. BaseVersionSource is the commit where the branch was branched from its parent. Does not increment.
Наследование: BaseVersionStrategy
Показать файл Открыть проект Примеры использования класса

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

Метод Описание
GetVersions ( GitVersionContext context ) : IEnumerable
GetVersions ( GitVersionContext context, string tagPrefixRegex, Branch currentBranch, IRepository repository ) : IEnumerable

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

Метод Описание
GetVersionInBranch ( string branchName, string tagPrefixRegex ) : SemanticVersion>.Tuple

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

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

public GetVersions ( GitVersionContext context ) : IEnumerable
context GitVersionContext
Результат IEnumerable

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

public GetVersions ( GitVersionContext context, string tagPrefixRegex, Branch currentBranch, IRepository repository ) : IEnumerable
context GitVersionContext
tagPrefixRegex string
currentBranch Branch
repository IRepository
Результат IEnumerable