Skip to content

Commit b2ae105

Browse files
author
Darrell Tunnell
committed
Cake build - Don't hard code gitreleasenotes.exe path.
1 parent dc1333f commit b2ae105

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

build.cake

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -402,8 +402,9 @@ Task("Create-Release-Notes")
402402
if(!string.IsNullOrWhiteSpace(githubToken))
403403
{
404404
IEnumerable<string> redirectedOutput;
405+
var gitReleasNotesExePath = Context.Tools.Resolve("GitReleaseNotes.exe");
405406
var releaseNotesExitCode = StartProcess(
406-
@"tools\GitReleaseNotes\GitReleaseNotes\tools\gitreleasenotes.exe",
407+
gitReleasNotesExePath,
407408
new ProcessSettings {
408409
Arguments = ". /o build/releasenotes.md /repoToken " + githubToken,
409410
RedirectStandardOutput = true

0 commit comments

Comments
 (0)