Skip to content

Commit

Permalink
Fix GitVersion to expose VersionSourceSha property (#16)
Browse files Browse the repository at this point in the history
  • Loading branch information
hayhay27 authored and matkoch committed Apr 15, 2019
1 parent c1cf0ec commit 50d6ba4
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
4 changes: 4 additions & 0 deletions build/specifications/GitVersion.json
Original file line number Diff line number Diff line change
Expand Up @@ -260,6 +260,10 @@
"name": "NuGetPreReleaseTag",
"type": "string"
},
{
"name": "VersionSourceSha",
"type": "string"
},
{
"name": "CommitsSinceVersionSource",
"type": "string"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -299,6 +299,7 @@ public partial class GitVersion : ISettingsEntity
public virtual string NuGetVersion { get; internal set; }
public virtual string NuGetPreReleaseTagV2 { get; internal set; }
public virtual string NuGetPreReleaseTag { get; internal set; }
public virtual string VersionSourceSha { get; internal set; }
public virtual string CommitsSinceVersionSource { get; internal set; }
public virtual string CommitsSinceVersionSourcePadded { get; internal set; }
public virtual string CommitDate { get; internal set; }
Expand Down

0 comments on commit 50d6ba4

Please sign in to comment.