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