Add complete publish automation.

Uses AppSettings to allow for secret storage.
This commit is contained in:
Dean Herbert
2017-02-13 16:48:53 +09:00
parent 2c95d7c67b
commit 05a014958f
4 changed files with 254 additions and 72 deletions

View File

@ -0,0 +1,25 @@
using Newtonsoft.Json;
namespace osu.Desktop.Deploy
{
internal class GitHubRelease
{
[JsonProperty(@"id")]
public int Id;
[JsonProperty(@"tag_name")]
public string TagName => $"v{Name}";
[JsonProperty(@"name")]
public string Name;
[JsonProperty(@"draft")]
public bool Draft;
[JsonProperty(@"prerelease")]
public bool PreRelease;
[JsonProperty(@"upload_url")]
public string UploadUrl;
}
}