diff --git a/build.cake b/build.cake index 9864815a158e1077de6cb9760fe1adb42f092f7d..4ced2b48248fefd3d1f945a37a2f0a87623ac584 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);