Rename special release channel to support

This commit is contained in:
Daniel
2021-06-24 11:43:56 +02:00
parent 7a68dee2e0
commit a792a75a48
2 changed files with 13 additions and 7 deletions

View File

@@ -10,7 +10,7 @@ const (
ReleaseChannelStable = "stable"
ReleaseChannelBeta = "beta"
ReleaseChannelStaging = "staging"
ReleaseChannelSpecial = "special"
ReleaseChannelSupport = "support"
)
// SetIndexes sets the update registry indexes and also configures the registry
@@ -48,10 +48,10 @@ func SetIndexes(registry *updater.ResourceRegistry, releaseChannel string) {
usePreReleases = true
}
// Add special index if in special channel.
if releaseChannel == ReleaseChannelSpecial {
// Add support index if in support channel.
if releaseChannel == ReleaseChannelSupport {
registry.AddIndex(updater.Index{
Path: ReleaseChannelSpecial + ".json",
Path: ReleaseChannelSupport + ".json",
})
}