Skip to content

Commit fca9987

Browse files
modular-magicianslevenick
authored andcommitted
hardcode protocol_version (#6035) (#4319)
Signed-off-by: Modular Magician <[email protected]>
1 parent 507ba1d commit fca9987

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

.changelog/6035.txt

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
```release-note:REPLACEME
2+
3+
```

.goreleaser.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ publishers:
4444
- glob: 'terraform-registry-manifest.json'
4545
name_template: '{{ .ProjectName }}_{{ .Version }}_manifest.json'
4646
signature: true
47-
cmd: hc-releases upload -product {{ .ProjectName }} -version {{ .Version }} -file={{ .ArtifactPath }}={{ .ArtifactName }} -header="x-terraform-protocol-version={{ .Env.PROTOCOL_VERSION }}" -header="x-terraform-protocol-versions={{ .Env.PROTOCOL_VERSIONS }}"
47+
cmd: hc-releases upload -product {{ .ProjectName }} -version {{ .Version }} -file={{ .ArtifactPath }}={{ .ArtifactName }} -header="x-terraform-protocol-version=5.0" -header="x-terraform-protocol-versions=5.0"
4848
env:
4949
- HC_RELEASES_HOST={{ .Env.HC_RELEASES_HOST }}
5050
- HC_RELEASES_KEY={{ .Env.HC_RELEASES_KEY }}

0 commit comments

Comments
 (0)