Skip to content

Commit b57116f

Browse files
committed
[goreleaser] Lint file
Signed-off-by: Wilfried Roset <[email protected]>
1 parent 074fb39 commit b57116f

File tree

1 file changed

+10
-10
lines changed

1 file changed

+10
-10
lines changed

.goreleaser.yml

+10-10
Original file line numberDiff line numberDiff line change
@@ -10,11 +10,11 @@ builds:
1010
# usage by users in CI/CD systems like Terraform Cloud where
1111
# they are unable to install libraries.
1212
- CGO_ENABLED=0
13-
mod_timestamp: '{{ .CommitTimestamp }}'
13+
mod_timestamp: "{{ .CommitTimestamp }}"
1414
flags:
1515
- -trimpath
1616
ldflags:
17-
- '-s -w -X main.version={{.Version}} -X main.commit={{.Commit}}'
17+
- "-s -w -X main.version={{.Version}} -X main.commit={{.Commit}}"
1818
goos:
1919
- freebsd
2020
- windows
@@ -23,15 +23,15 @@ builds:
2323
goarch:
2424
- amd64
2525
- arm64
26-
binary: '{{ .ProjectName }}_v{{ .Version }}'
26+
binary: "{{ .ProjectName }}_v{{ .Version }}"
2727
archives:
2828
- format: zip
29-
name_template: '{{ .ProjectName }}_{{ .Version }}_{{ .Os }}_{{ .Arch }}'
29+
name_template: "{{ .ProjectName }}_{{ .Version }}_{{ .Os }}_{{ .Arch }}"
3030
checksum:
3131
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"
3535
algorithm: sha256
3636
signs:
3737
- artifacts: checksum
@@ -40,15 +40,15 @@ signs:
4040
# need to pass the batch flag to indicate its not interactive.
4141
- "--batch"
4242
- "--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
4444
- "--output"
4545
- "${signature}"
4646
- "--detach-sign"
4747
- "${artifact}"
4848
release:
4949
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"
5252
# If you want to manually examine the release before its live, uncomment this line:
5353
draft: true
5454
changelog:

0 commit comments

Comments
 (0)