Update release channel categorization

This commit is contained in:
Daniel 2021-06-07 12:19:59 +02:00
parent 4d121f53a1
commit 29ca6699aa

View file

@ -32,10 +32,10 @@ func registerConfig() error {
err := config.Register(&config.Option{ err := config.Register(&config.Option{
Name: "Release Channel", Name: "Release Channel",
Key: helper.ReleaseChannelKey, Key: helper.ReleaseChannelKey,
Description: "Switch release channel.", Description: `Use "Stable" for the best experience. The "Beta" channel will have the newest features and fixes, but may also break and cause interruption. Use others only temporarily and when instructed.`,
OptType: config.OptTypeString, OptType: config.OptTypeString,
ExpertiseLevel: config.ExpertiseLevelDeveloper, ExpertiseLevel: config.ExpertiseLevelExpert,
ReleaseLevel: config.ReleaseLevelExperimental, ReleaseLevel: config.ReleaseLevelStable,
RequiresRestart: true, RequiresRestart: true,
DefaultValue: helper.ReleaseChannelStable, DefaultValue: helper.ReleaseChannelStable,
PossibleValues: []config.PossibleValue{ PossibleValues: []config.PossibleValue{
@ -50,9 +50,9 @@ func registerConfig() error {
Value: helper.ReleaseChannelBeta, Value: helper.ReleaseChannelBeta,
}, },
{ {
Name: "Special", Name: "Special",
Description: "Special releases or version changes for troubleshooting. Only use temporarily and when instructed.", Description: "Special releases or version changes for troubleshooting. Only use temporarily and when instructed.",
Value: helper.ReleaseChannelSpecial, Value: helper.ReleaseChannelSpecial,
}, },
{ {
Name: "Staging", Name: "Staging",