diff --git a/build.cake b/build.cake index f3cf48fec085d3a84c76fbcc9e7c7594eb9f11ef..32d4193706f88ed48d24c3db639e3915d307c9db 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");