diff --git a/.goreleaser.yml b/.goreleaser.yml index 8e7cb3f1f6a7..3e1157c789c0 100644 --- a/.goreleaser.yml +++ b/.goreleaser.yml @@ -45,14 +45,13 @@ publishers: # Terraform CLI 0.10 - 0.11 perform discovery via HTTP headers on releases.hashicorp.com # For providers which have existed since those CLI versions, exclude # discovery by setting the protocol version headers to 5. - cmd: hc-releases upload -product {{ .ProjectName }} -version {{ .Version }} -file={{ .ArtifactPath }} -header=x-terraform-protocol-version=5 -header=x-terraform-protocol-versions=5.0 + cmd: hc-releases upload -product {{ .ProjectName }} -version {{ .Version }} -file={{ .ArtifactPath }}={{ .ArtifactName }} -header=x-terraform-protocol-version=5 -header=x-terraform-protocol-versions=5.0 env: - HC_RELEASES_HOST={{ .Env.HC_RELEASES_HOST }} - HC_RELEASES_KEY={{ .Env.HC_RELEASES_KEY }} - # Commenting this out for now since it's not currently supported at the moment - # extra_files: - # - glob: 'terraform-registry-manifest.json' - # name_template: '{{ .ProjectName }}_{{ .Version }}_manifest.json' + extra_files: + - glob: 'terraform-registry-manifest.json' + name_template: '{{ .ProjectName }}_{{ .Version }}_manifest.json' name: upload signature: true release: