diff --git a/build.cake b/build.cake index 6dea8a04f4384ec810b38143ce138bda6e5c1e74..6bab3409046e48544e7643dc15ecc134119a3643 100644 --- a/build.cake +++ b/build.cake @@ -241,12 +241,8 @@ IEnumerable<string> redirectedStandardOutput; out redirectedStandardOutput );*/ - Information(description); - var json = $"{{\"name\": \"v{semanticVersion}\", \"tag_name\": \"v{semanticVersion}\" \"description\": \"{description}\"}}"; - Information(json); - var settings = new HttpSettings { Headers = new Dictionary<string, string> @@ -256,14 +252,13 @@ IEnumerable<string> redirectedStandardOutput; }; // create tag - Information($"https://git.rwth-aachen.de/api/v4/projects/{gitlabProjectId}/repository/tags?tag_name=v{semanticVersion}&ref=master&release_description={description}"); var responseBody = HttpPost($"https://git.rwth-aachen.de/api/v4/projects/{gitlabProjectId}/repository/tags?tag_name=v{semanticVersion}&ref=master&release_description={description}", settings); Information(responseBody); // create release - settings.SetJsonRequestBody(json); - responseBody = HttpPost($"https://git.rwth-aachen.de/api/v4/projects/{gitlabProjectId}/releases", settings); - Information(responseBody); + //settings.SetJsonRequestBody(json); + //responseBody = HttpPost($"https://git.rwth-aachen.de/api/v4/projects/{gitlabProjectId}/releases", settings); + //Information(responseBody); }); Task("Build")