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
파일 보기 프로젝트 열기: GitTools/GitVersion

공개 메소드들

메소드 설명
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