GitVersionContext Class

Summary

Contextual information about where GitVersion is being run
Namespace
GitVersion
Base Types
  • object
graph BT Type-->Base0["object"] Type["GitVersionContext"] class Type type-node

Syntax

public class GitVersionContext

Constructors

Properties

Name Value Summary
Configuration EffectiveConfiguration
CurrentBranch IBranch
CurrentCommit ICommit
CurrentCommitTaggedVersion SemanticVersion
FullConfiguration Config
Contains the raw configuration, use Configuration for specific config based on the current GitVersion context.
IsCurrentCommitTagged bool
NumberOfUncommittedChanges int

Extension Methods

Name Value Summary
GetProperties() IEnumerable<KeyValuePair<string, string>>
NotNull<GitVersionContext>(string) T
GitHub