Skip to content

Commit 9cd21f6

Browse files
author
Jake Ginnivan
committed
Assuming it fails when there are no release notes to generate. Removing check for failure
1 parent beac60e commit 9cd21f6

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

build.cake

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -136,15 +136,11 @@ Task("Create-Release-Notes")
136136
RedirectStandardOutput = true
137137
},
138138
out redirectedOutput);
139+
Information(string.Join("\n"m redirectedOutput));
139140

140141
if (!System.IO.File.Exists("./build/releasenotes.md") || string.IsNullOrEmpty(System.IO.File.ReadAllText("./build/releasenotes.md"))) {
141142
System.IO.File.WriteAllText("./build/releasenotes.md", "No issues closed since last release");
142143
}
143-
144-
if (releaseNotesExitCode != 0) {
145-
throw new Exception("Failed to generate release notes:" +
146-
string.Join("\n", redirectedOutput));
147-
}
148144
}
149145
else
150146
{

0 commit comments

Comments
 (0)