mirror of
https://github.com/openziti/ziti.git
synced 2026-10-12 23:32:02 +00:00
Merge pull request #282 from openziti/fix-terraform-provider-install
Fix terraform provider install
This commit is contained in:
@@ -1,3 +1,9 @@
|
||||
# Release 0.18.6
|
||||
|
||||
## What's New
|
||||
|
||||
* Fix `ziti install terraform-provider-edgecontroller`
|
||||
|
||||
# Release 0.18.5
|
||||
|
||||
## What's New
|
||||
|
||||
@@ -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 + "/"
|
||||
|
||||
Reference in New Issue
Block a user