From b2ae105157778569973d31b386aa97522ea214e6 Mon Sep 17 00:00:00 2001 From: Darrell Tunnell Date: Thu, 28 Jun 2018 12:23:54 +0100 Subject: [PATCH] Cake build - Don't hard code gitreleasenotes.exe path. --- build.cake | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/build.cake b/build.cake index c2d681e253..cca3e70bc2 100644 --- a/build.cake +++ b/build.cake @@ -402,8 +402,9 @@ Task("Create-Release-Notes") if(!string.IsNullOrWhiteSpace(githubToken)) { IEnumerable redirectedOutput; + var gitReleasNotesExePath = Context.Tools.Resolve("GitReleaseNotes.exe"); var releaseNotesExitCode = StartProcess( - @"tools\GitReleaseNotes\GitReleaseNotes\tools\gitreleasenotes.exe", + gitReleasNotesExePath, new ProcessSettings { Arguments = ". /o build/releasenotes.md /repoToken " + githubToken, RedirectStandardOutput = true