@@ -11,11 +11,11 @@ builds:
11
11
# usage by users in CI/CD systems like Terraform Cloud where
12
12
# they are unable to install libraries.
13
13
- CGO_ENABLED=0
14
- mod_timestamp : ' {{ .CommitTimestamp }}'
14
+ mod_timestamp : " {{ .CommitTimestamp }}"
15
15
flags :
16
16
- -trimpath
17
17
ldflags :
18
- - ' -s -w -X main.version={{.Version}} -X main.commit={{.Commit}}'
18
+ - " -s -w -X main.version={{.Version}} -X main.commit={{.Commit}}"
19
19
goos :
20
20
- freebsd
21
21
- windows
@@ -24,15 +24,15 @@ builds:
24
24
goarch :
25
25
- amd64
26
26
- arm64
27
- binary : ' {{ .ProjectName }}_v{{ .Version }}'
27
+ binary : " {{ .ProjectName }}_v{{ .Version }}"
28
28
archives :
29
29
- format : zip
30
- name_template : ' {{ .ProjectName }}_{{ .Version }}_{{ .Os }}_{{ .Arch }}'
30
+ name_template : " {{ .ProjectName }}_{{ .Version }}_{{ .Os }}_{{ .Arch }}"
31
31
checksum :
32
32
extra_files :
33
- - glob : ' terraform-registry-manifest.json'
34
- name_template : ' {{ .ProjectName }}_{{ .Version }}_manifest.json'
35
- name_template : ' {{ .ProjectName }}_{{ .Version }}_SHA256SUMS'
33
+ - glob : " terraform-registry-manifest.json"
34
+ name_template : " {{ .ProjectName }}_{{ .Version }}_manifest.json"
35
+ name_template : " {{ .ProjectName }}_{{ .Version }}_SHA256SUMS"
36
36
algorithm : sha256
37
37
signs :
38
38
- artifacts : checksum
@@ -41,15 +41,15 @@ signs:
41
41
# need to pass the batch flag to indicate its not interactive.
42
42
- " --batch"
43
43
- " --local-user"
44
- - " {{ .Env.GPG_FINGERPRINT }}" # set this environment variable for your signing key
44
+ - " {{ .Env.GPG_FINGERPRINT }}" # set this environment variable for your signing key
45
45
- " --output"
46
46
- " ${signature}"
47
47
- " --detach-sign"
48
48
- " ${artifact}"
49
49
release :
50
50
extra_files :
51
- - glob : ' terraform-registry-manifest.json'
52
- name_template : ' {{ .ProjectName }}_{{ .Version }}_manifest.json'
51
+ - glob : " terraform-registry-manifest.json"
52
+ name_template : " {{ .ProjectName }}_{{ .Version }}_manifest.json"
53
53
# If you want to manually examine the release before its live, uncomment this line:
54
54
draft : true
55
55
changelog :
0 commit comments