From 29a6b68e44ee3ab3e8a62b415867f19bfa545828 Mon Sep 17 00:00:00 2001
From: "L. Ellenbeck" <ellenbeck@itc.rwth-aachen.de>
Date: Wed, 22 Jan 2020 16:19:21 +0100
Subject: [PATCH] Fix: maybe

---
 build.cake | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/build.cake b/build.cake
index f3cf48f..32d4193 100644
--- a/build.cake
+++ b/build.cake
@@ -239,7 +239,7 @@ IEnumerable<string> redirectedStandardOutput;
 	var result = client.PostAsync($"https://git.rwth-aachen.de/api/v4/projects/{gitlabProjectId}/repository/tags?tag_name=v{semanticVersion}&ref=master", null).Result;
 	Information("Create tag: {0}", result.Content.ReadAsStringAsync().Result);
 
-	description = "abcabc\\ntest";
+	description = description.Replace("\n", "\\n");
 	// create release
 	var json = $"{{\"name\": \"v{semanticVersion}\", \"tag_name\": \"v{semanticVersion}\", \"description\": \"{description}\"}}";
 	var content = new StringContent(json, Encoding.UTF8, "application/json");
-- 
GitLab