Improve usage setting of pre-preleases

This commit is contained in:
Daniel
2021-06-07 16:43:11 +02:00
parent 3a377276af
commit 525ef54d92
4 changed files with 14 additions and 7 deletions

View File

@@ -122,8 +122,8 @@ func updateRegistryConfig(_ context.Context, _ interface{}) error {
changed := false
if releaseChannel() != previousReleaseChannel {
registry.SetUsePreReleases(releaseChannel() != helper.ReleaseChannelStable)
previousReleaseChannel = releaseChannel()
helper.SetIndexes(registry, releaseChannel())
changed = true
}