summaryrefslogtreecommitdiff
path: root/src/StardewModdingAPI/Framework/GitRelease.cs
diff options
context:
space:
mode:
Diffstat (limited to 'src/StardewModdingAPI/Framework/GitRelease.cs')
-rw-r--r--src/StardewModdingAPI/Framework/GitRelease.cs19
1 files changed, 19 insertions, 0 deletions
diff --git a/src/StardewModdingAPI/Framework/GitRelease.cs b/src/StardewModdingAPI/Framework/GitRelease.cs
new file mode 100644
index 00000000..0da57efd
--- /dev/null
+++ b/src/StardewModdingAPI/Framework/GitRelease.cs
@@ -0,0 +1,19 @@
+using Newtonsoft.Json;
+
+namespace StardewModdingAPI.Framework
+{
+ /// <summary>Metadata about a GitHub release tag.</summary>
+ internal class GitRelease
+ {
+ /*********
+ ** Accessors
+ *********/
+ /// <summary>The display name.</summary>
+ [JsonProperty("name")]
+ public string Name { get; set; }
+
+ /// <summary>The semantic version string.</summary>
+ [JsonProperty("tag_name")]
+ public string Tag { get; set; }
+ }
+} \ No newline at end of file