mirror of
https://github.com/ppy/osu.git
synced 2024-12-15 23:23:04 +08:00
25 lines
528 B
C#
25 lines
528 B
C#
|
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;
|
|||
|
}
|
|||
|
}
|