[cli] download plugins from github releases by default
@@ -310,7 +310,6 @@ func (info PluginInfo) Download() (io.ReadCloser, int64, error) {
return getPluginResponse(buildUserSpecifiedPluginURL(url, info.Kind, info.Name, info.Version, opSy, arch))
}
- if _, ok := os.LookupEnv("PULUMI_EXPERIMENTAL"); ok {
pluginURL := buildGitHubReleasesPluginURL(info.Kind, info.Name, info.Version, opSy, arch)
resp, length, err := getPluginResponse(pluginURL)
@@ -320,8 +319,6 @@ func (info PluginInfo) Download() (io.ReadCloser, int64, error) {
// we threw an error talking to GitHub so lets fallback to get.pulumi.com for the provider
logging.V(1).Infof("cannot find plugin on github.com/pulumi/pulumi-%s/releases", info.Name)
- }
-
return getPluginResponse(buildPulumiHostedPluginURL(info.Kind, info.Name, info.Version, opSy, arch))
}
