@@ -40,36 +40,22 @@ checksum:
40
40
- glob : ' terraform-registry-manifest.json'
41
41
name_template : ' {{ .ProjectName }}_{{ .Version }}_manifest.json'
42
42
name_template : ' {{ .ProjectName }}_{{ .Version }}_SHA256SUMS'
43
- publishers :
44
- - checksum : true
45
- # Terraform CLI 0.10 - 0.11 perform discovery via HTTP headers on releases.hashicorp.com
46
- # For providers which have existed since those CLI versions, exclude
47
- # discovery by setting the protocol version headers to 5.
48
- env :
49
- - HC_RELEASES_HOST={{ .Env.HC_RELEASES_HOST }}
50
- - HC_RELEASES_KEY={{ .Env.HC_RELEASES_KEY }}
51
- cmd : |
52
- hc-releases upload -product {{ .ProjectName }} -version {{ .Version }} -file={{ .ArtifactPath }}={{ .ArtifactName }} -header=x-terraform-protocol-version=5 -header=x-terraform-protocol-versions=5.0
53
- extra_files :
54
- - glob : ' terraform-registry-manifest.json'
55
- name_template : ' {{ .ProjectName }}_{{ .Version }}_manifest.json'
56
- name : upload
57
- signature : true
58
43
release :
44
+ github :
45
+ owner : sylr
46
+ name : terraform-provider-aws
59
47
extra_files :
60
48
- glob : ' terraform-registry-manifest.json'
61
49
name_template : ' {{ .ProjectName }}_{{ .Version }}_manifest.json'
62
- ids :
63
- - none
64
50
signs :
65
- - args : ["sign", "--dearmor", "--file", "${artifact}", "--out", "${signature}"]
66
- artifacts : checksum
67
- cmd : signore
68
- signature : ${artifact}.sig
69
- - args : ["sign", "--dearmor", "--file", "${artifact}", "--out", "${signature}"]
70
- artifacts : checksum
71
- cmd : signore
72
- id : key-id
73
- signature : ${artifact}.72D7468F.sig
51
+ - artifacts : checksum
52
+ args :
53
+ - " --batch "
54
+ - " --local-user "
55
+ - " {{ .Env.GPG_FINGERPRINT }} " # set this environment variable for your signing key
56
+ - " --output "
57
+ - " ${signature} "
58
+ - " --detach-sign "
59
+ - " ${artifact}"
74
60
snapshot :
75
61
name_template : " {{ .Tag }}-next"
0 commit comments