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

Active only when the branch is marked as IsDevelop. Two different algorithms (results are merged):

Using VersionInBranchNameBaseVersionStrategy: Version is that of any child branches marked with IsReleaseBranch (except if they have no commits of their own). BaseVersionSource is the commit where the child branch was created. Always increments.

Using TaggedCommitVersionStrategy: Version is extracted from all tags on the master branch which are valid. BaseVersionSource is the tag's commit (same as base strategy). Increments if the tag is not the current commit (same as base strategy).

Наследование: GitVersion.VersionCalculation.BaseVersionStrategy
Показать файл Открыть проект

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

Метод Описание
GetVersions ( GitVersionContext context ) : IEnumerable

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

Метод Описание
GetReleaseVersion ( GitVersionContext context, Branch releaseBranch ) : IEnumerable
MasterTagsVersions ( GitVersionContext context ) : IEnumerable
ReleaseBranchBaseVersions ( GitVersionContext context ) : IEnumerable

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

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

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