Skip to content

Commit 253ce9e

Browse files
committed
Fixed few issues
1 parent d9a3869 commit 253ce9e

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

build.cake

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -111,8 +111,8 @@ Task("Create-Release-Notes")
111111
{
112112
var releaseNotesExitCode = StartProcess(
113113
@"tools\GitReleaseNotes\tools\gitreleasenotes.exe",
114-
new ProcessSettings { Arguments = ". /o artifacts/releasenotes.md" });
115-
if (string.IsNullOrEmpty(System.IO.File.ReadAllText("./artifacts/releasenotes.md")))
114+
new ProcessSettings { Arguments = ". /o build/releasenotes.md" });
115+
if (string.IsNullOrEmpty(System.IO.File.ReadAllText("./build/releasenotes.md")))
116116
System.IO.File.WriteAllText("./build/releasenotes.md", "No issues closed since last release");
117117

118118
if (releaseNotesExitCode != 0) throw new Exception("Failed to generate release notes");
@@ -126,7 +126,7 @@ Task("Upload-AppVeyor-Artifacts")
126126
.WithCriteria(() => BuildSystem.AppVeyor.IsRunningOnAppVeyor)
127127
.Does(() =>
128128
{
129-
System.IO.File.WriteAllLines(outputDir + "artifacts", new[]{
129+
System.IO.File.WriteAllLines("build/artifacts", new[]{
130130
"NuGetExeBuild:GitVersion.Portable." + nugetVersion +".nupkg",
131131
"NuGetCommandLineBuild:GitVersion.CommandLine." + nugetVersion +".nupkg",
132132
"NuGetRefBuild:GitVersion." + nugetVersion +".nupkg",

0 commit comments

Comments
 (0)