Class ThisAssembly.Git
Returns information about the current git repo for the solution.
Namespace: Neon.Kube.BuildInfo
Assembly: Neon.Kube.BuildInfo.dll
Syntax
public static class ThisAssembly.Git
Fields
BaseTag
Returns the base tag.
Declaration
public const string BaseTag = "v0.10.0-beta.5"
Field Value
Type | Description |
---|---|
string |
Branch
Returns the name of the current branch.
Declaration
public const string Branch = "master"
Field Value
Type | Description |
---|---|
string |
Commit
Returns the current commit hash (short).
Declaration
public const string Commit = "edc0f1359"
Field Value
Type | Description |
---|---|
string |
CommitDate
Returns the commit timestamp.
Declaration
public const string CommitDate = "2024-03-07T11:09:26-08:00"
Field Value
Type | Description |
---|---|
string |
Commits
Returns the commits on top of the base version.
Declaration
public const string Commits = "38"
Field Value
Type | Description |
---|---|
string |
IsDirty
Returns true
when the git repo has uncommited changes.
Declaration
public const bool IsDirty = false
Field Value
Type | Description |
---|---|
bool |
IsDirtyString
Returns "true when the git repo has uncommited changes, "false" otherwise.
Declaration
public const string IsDirtyString = "false"
Field Value
Type | Description |
---|---|
string |
RepositoryUrl
Returns the upstream git repository URL.
Declaration
public const string RepositoryUrl = "https://github.com/nforgeio/neonKUBE.git"
Field Value
Type | Description |
---|---|
string |
Sha
Returns the current commit SHA.
Declaration
public const string Sha = "edc0f1359a40e66012f4d1ccf5b323828ba37c97"
Field Value
Type | Description |
---|---|
string |
Tag
Returns the full tag.
Declaration
public const string Tag = "v0.10.0-beta.5-38-gedc0f1359"
Field Value
Type | Description |
---|---|
string |