tgstation-server 6.12.0
The /tg/station 13 server suite
Loading...
Searching...
No Matches
UpdatesConfiguration.cs
Go to the documentation of this file.
2
4{
8 public sealed class UpdatesConfiguration
9 {
13 public const string Section = "Updates";
14
18 const long DefaultGitHubRepositoryId = 92952846;
19
23 const string DefaultGitTagPrefix = $"{Constants.CanonicalPackageName}-v";
24
28 const string DefaultUpdatePackageAssetName = "ServerUpdatePackage.zip";
29
33 public long GitHubRepositoryId { get; set; } = DefaultGitHubRepositoryId;
34
38 public string? GitTagPrefix { get; set; } = DefaultGitTagPrefix;
39
44 }
45}
Configuration for the automatic update system.
const string DefaultUpdatePackageAssetName
The default value of UpdatePackageAssetName.
long GitHubRepositoryId
The Octokit.Repository.Id of the tgstation-server fork to receive updates from.
const long DefaultGitHubRepositoryId
The tgstation/tgstation-server Octokit.Repository.Id.
const string DefaultGitTagPrefix
The default value of GitTagPrefix.
string? UpdatePackageAssetName
Asset package containing the new Host assembly in zip form.
const string Section
The key for the Microsoft.Extensions.Configuration.IConfigurationSection the UpdatesConfiguration res...
string? GitTagPrefix
Prefix before the global::System.Version of TGS published in git tags.