Skip to content
Snippets Groups Projects

Fix: small fix

Merged L. Ellenbeck requested to merge Topic/570-gitVersion into master
1 file
+ 6
2
Compare changes
  • Side-by-side
  • Inline
+ 6
2
@@ -241,7 +241,12 @@ 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>
@@ -251,7 +256,7 @@ 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}", settings);
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);
@@ -259,7 +264,6 @@ IEnumerable<string> redirectedStandardOutput;
settings.SetJsonRequestBody(json);
responseBody = HttpPost($"https://git.rwth-aachen.de/api/v4/projects/{gitlabProjectId}/releases", settings);
Information(responseBody);
Information(description);
});
Task("Build")
Loading