Skip to content

Commit 0e77e2e

Browse files
authored
Merge pull request #1432 from dazinator/hotfix/4.0.1
Cake build - Don't hard code gitreleasenotes.exe path.
2 parents af73f6a + b2ae105 commit 0e77e2e

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)