11# Visit https://goreleaser.com for documentation on how to customize this
22# behavior.
3+ version : 2
34before :
45 hooks :
56 # this is just an example and not a requirement for provider building/publishing
@@ -10,11 +11,11 @@ builds:
1011 # usage by users in CI/CD systems like Terraform Cloud where
1112 # they are unable to install libraries.
1213 - CGO_ENABLED=0
13- mod_timestamp : ' {{ .CommitTimestamp }}'
14+ mod_timestamp : " {{ .CommitTimestamp }}"
1415 flags :
1516 - -trimpath
1617 ldflags :
17- - ' -s -w -X main.version={{.Version}} -X main.commit={{.Commit}}'
18+ - " -s -w -X main.version={{.Version}} -X main.commit={{.Commit}}"
1819 goos :
1920 - freebsd
2021 - windows
@@ -23,15 +24,15 @@ builds:
2324 goarch :
2425 - amd64
2526 - arm64
26- binary : ' {{ .ProjectName }}_v{{ .Version }}'
27+ binary : " {{ .ProjectName }}_v{{ .Version }}"
2728archives :
2829 - format : zip
29- name_template : ' {{ .ProjectName }}_{{ .Version }}_{{ .Os }}_{{ .Arch }}'
30+ name_template : " {{ .ProjectName }}_{{ .Version }}_{{ .Os }}_{{ .Arch }}"
3031checksum :
3132 extra_files :
32- - glob : ' terraform-registry-manifest.json'
33- name_template : ' {{ .ProjectName }}_{{ .Version }}_manifest.json'
34- name_template : ' {{ .ProjectName }}_{{ .Version }}_SHA256SUMS'
33+ - glob : " terraform-registry-manifest.json"
34+ name_template : " {{ .ProjectName }}_{{ .Version }}_manifest.json"
35+ name_template : " {{ .ProjectName }}_{{ .Version }}_SHA256SUMS"
3536 algorithm : sha256
3637signs :
3738 - artifacts : checksum
@@ -40,16 +41,17 @@ signs:
4041 # need to pass the batch flag to indicate its not interactive.
4142 - " --batch"
4243 - " --local-user"
43- - " {{ .Env.GPG_FINGERPRINT }}" # set this environment variable for your signing key
44+ - " {{ .Env.GPG_FINGERPRINT }}" # set this environment variable for your signing key
4445 - " --output"
4546 - " ${signature}"
4647 - " --detach-sign"
4748 - " ${artifact}"
4849release :
4950 extra_files :
50- - glob : ' terraform-registry-manifest.json'
51- name_template : ' {{ .ProjectName }}_{{ .Version }}_manifest.json'
51+ - glob : " terraform-registry-manifest.json"
52+ name_template : " {{ .ProjectName }}_{{ .Version }}_manifest.json"
5253 # If you want to manually examine the release before its live, uncomment this line:
5354 draft : true
5455changelog :
55- disable : true
56+ disable : false
57+ use : github
0 commit comments