diff options
author | Jesse Plamondon-Willard <github@jplamondonw.com> | 2018-03-15 19:52:18 -0400 |
---|---|---|
committer | Jesse Plamondon-Willard <github@jplamondonw.com> | 2018-03-15 19:52:18 -0400 |
commit | 436c071ba4ecbe43769b438277d441057d05403e (patch) | |
tree | 951a55434858a6a6417f04f6993843ef5769f3dc /src/SMAPI.Web/Framework/ConfigModels | |
parent | 9e052ae91671024c9c6b74754ec9d184a57a5278 (diff) | |
download | SMAPI-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.cs | 7 |
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; } |