summaryrefslogtreecommitdiff
path: root/src/SMAPI.Web/Framework/ConfigModels
diff options
context:
space:
mode:
authorJesse Plamondon-Willard <github@jplamondonw.com>2018-03-15 19:52:18 -0400
committerJesse Plamondon-Willard <github@jplamondonw.com>2018-03-15 19:52:18 -0400
commit436c071ba4ecbe43769b438277d441057d05403e (patch)
tree951a55434858a6a6417f04f6993843ef5769f3dc /src/SMAPI.Web/Framework/ConfigModels
parent9e052ae91671024c9c6b74754ec9d184a57a5278 (diff)
downloadSMAPI-436c071ba4ecbe43769b438277d441057d05403e.tar.gz
SMAPI-436c071ba4ecbe43769b438277d441057d05403e.tar.bz2
SMAPI-436c071ba4ecbe43769b438277d441057d05403e.zip
add support for preview GitHub releases (#457)
Diffstat (limited to 'src/SMAPI.Web/Framework/ConfigModels')
-rw-r--r--src/SMAPI.Web/Framework/ConfigModels/ApiClientsConfig.cs7
1 files changed, 5 insertions, 2 deletions
diff --git a/src/SMAPI.Web/Framework/ConfigModels/ApiClientsConfig.cs b/src/SMAPI.Web/Framework/ConfigModels/ApiClientsConfig.cs
index 61219414..de6c024a 100644
--- a/src/SMAPI.Web/Framework/ConfigModels/ApiClientsConfig.cs
+++ b/src/SMAPI.Web/Framework/ConfigModels/ApiClientsConfig.cs
@@ -29,8 +29,11 @@ namespace StardewModdingAPI.Web.Framework.ConfigModels
/// <summary>The base URL for the GitHub API.</summary>
public string GitHubBaseUrl { get; set; }
- /// <summary>The URL for a GitHub API latest-release query excluding the <see cref="GitHubBaseUrl"/>, where {0} is the organisation and project name.</summary>
- public string GitHubReleaseUrlFormat { get; set; }
+ /// <summary>The URL for a GitHub API query for the latest stable release, excluding the <see cref="GitHubBaseUrl"/>, where {0} is the organisation and project name.</summary>
+ public string GitHubStableReleaseUrlFormat { get; set; }
+
+ /// <summary>The URL for a GitHub API query for the latest release (including prerelease), excluding the <see cref="GitHubBaseUrl"/>, where {0} is the organisation and project name.</summary>
+ public string GitHubAnyReleaseUrlFormat { get; set; }
/// <summary>The Accept header value expected by the GitHub API.</summary>
public string GitHubAcceptHeader { get; set; }