Veloren: add Weekly release version option (#416)

This commit is contained in:
Greelan 2023-07-10 17:03:54 +03:00 committed by GitHub
parent e2d9dbab4b
commit 2724f0db7f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 21 additions and 5 deletions

View File

@ -52,5 +52,21 @@
"Suffix":"players", "Suffix":"players",
"EnumValues":{}, "EnumValues":{},
"MinValue":"1" "MinValue":"1"
},
{
"DisplayName":"Server Release Version",
"Category":"SteamCMD and Updates",
"Description":"Sets the server release version to install. NOTE: Update the server after changing this setting!",
"Keywords":"server,release,version,nightly,weekly",
"FieldName":"ReleaseVersion",
"InputType":"enum",
"IsFlagArgument":false,
"ParamFieldName":"ReleaseVersion",
"IncludeInCommandLine":false,
"DefaultValue":"weekly",
"EnumValues":{
"weekly":"Weekly (default)",
"nightly":"Nightly"
}
} }
] ]

View File

@ -3,8 +3,8 @@
"UpdateStageName":"Server Download", "UpdateStageName":"Server Download",
"UpdateSourcePlatform":"Windows", "UpdateSourcePlatform":"Windows",
"UpdateSource":"FetchURL", "UpdateSource":"FetchURL",
"UpdateSourceData":"https://download.veloren.net/latest/windows/x86_64/nightly", "UpdateSourceData":"https://download.veloren.net/latest/windows/x86_64/{{ReleaseVersion}}",
"UpdateSourceArgs":"nightly.zip", "UpdateSourceArgs":"{{ReleaseVersion}}.zip",
"UpdateSourceTarget":"{{$FullRootDir}}", "UpdateSourceTarget":"{{$FullRootDir}}",
"UnzipUpdateSource":true, "UnzipUpdateSource":true,
"OverwriteExistingFiles":true, "OverwriteExistingFiles":true,
@ -14,8 +14,8 @@
"UpdateStageName":"Server Download", "UpdateStageName":"Server Download",
"UpdateSourcePlatform":"Linux", "UpdateSourcePlatform":"Linux",
"UpdateSource":"FetchURL", "UpdateSource":"FetchURL",
"UpdateSourceData":"https://download.veloren.net/latest/linux/x86_64/nightly", "UpdateSourceData":"https://download.veloren.net/latest/linux/x86_64/{{ReleaseVersion}}",
"UpdateSourceArgs":"nightly.zip", "UpdateSourceArgs":"{{ReleaseVersion}}.zip",
"UpdateSourceTarget":"{{$FullRootDir}}", "UpdateSourceTarget":"{{$FullRootDir}}",
"UnzipUpdateSource":true, "UnzipUpdateSource":true,
"OverwriteExistingFiles":true, "OverwriteExistingFiles":true,