Merge pull request #282 from openziti/fix-terraform-provider-install

Fix terraform provider install
This commit is contained in:
Paul Lorenz
2021-01-28 09:10:22 -05:00
committed by GitHub
2 changed files with 8 additions and 2 deletions
+6
View File
@@ -1,3 +1,9 @@
# Release 0.18.6
## What's New
* Fix `ziti install terraform-provider-edgecontroller`
# Release 0.18.5
## What's New
+2 -2
View File
@@ -394,10 +394,10 @@ func GetArtifactoryPath(staging bool, appName string, branch string) string {
func GetTerraformProviderArtifactoryPath(provider string, branch string) string {
if branch == "" {
branch = "main"
branch = "master"
}
var path string
if branch == "main" {
if branch == "master" {
path = c.TERRAFORM_PROVIDER_PREFIX + provider + "-release/"
} else {
path = c.TERRAFORM_PROVIDER_PREFIX + provider + "-snapshot/" + branch + "/"