From 1e0b0ec660b1a13e8effc87de6c3028f77f78efd Mon Sep 17 00:00:00 2001
From: "L. Ellenbeck" <ellenbeck@itc.rwth-aachen.de>
Date: Thu, 23 Jan 2020 14:16:07 +0100
Subject: [PATCH] Build: fix for multiline

---
 build.cake | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/build.cake b/build.cake
index 9864815..4ced2b4 100644
--- a/build.cake
+++ b/build.cake
@@ -165,11 +165,12 @@ Task("GitlabRelease")
 		logParam = $"{lastTag}..Head";
 	}
 
+	IEnumerable<string> redirectedStandardOutput;
 	var exitCodeWithArgument =
 		StartProcess(
 			"git",
 			new ProcessSettings {
-				Arguments = $"log {logParam} --oneline",
+				Arguments = $"log {logParam} --pretty=format:'%h %B'",
 				RedirectStandardOutput = true
 			},
 			out redirectedStandardOutput
@@ -209,6 +210,8 @@ Task("GitlabRelease")
 	}
 	// correctly escape the json newlines
 	description = description.Replace("\n", "\\n");
+	Information("{0}", description);
+	throw new Exception();
 
 	// create tag
 	client.DefaultRequestHeaders.Add("PRIVATE-TOKEN", gitlabToken);
-- 
GitLab