You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/Nerdbank.GitVersioning.Tasks/GetBuildVersion.cs
+7-1Lines changed: 7 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -40,6 +40,12 @@ public GetBuildVersion()
40
40
/// </summary>
41
41
publicstringGitRepoRoot{get;set;}
42
42
43
+
/// <summary>
44
+
/// Gets or sets the project path relative to Git Root. This is the case where GitRepoRoot might be different from where project folder is getting built
45
+
/// If null or empty, default behavior will be to use Environment.CurrentDirectory and substring GitRepoRoot to search the GIT Tree for version.json
46
+
/// </summary>
47
+
publicstringGitProjectRelativePath{get;set;}
48
+
43
49
/// <summary>
44
50
/// Gets or sets the optional override build number offset.
0 commit comments