mirror of
https://github.com/ppy/osu.git
synced 2024-12-15 19:12:57 +08:00
29 lines
682 B
C#
29 lines
682 B
C#
// Copyright (c) 2007-2018 ppy Pty Ltd <contact@ppy.sh>.
|
|
// Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu/master/LICENCE
|
|
|
|
using Newtonsoft.Json;
|
|
|
|
namespace osu.Desktop.Deploy
|
|
{
|
|
public 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;
|
|
}
|
|
}
|