Skip to content

Commit dfdbd01

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

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
@@ -11,11 +11,11 @@ builds:
1111
# usage by users in CI/CD systems like Terraform Cloud where
1212
# they are unable to install libraries.
1313
- CGO_ENABLED=0
14-
mod_timestamp: '{{ .CommitTimestamp }}'
14+
mod_timestamp: "{{ .CommitTimestamp }}"
1515
flags:
1616
- -trimpath
1717
ldflags:
18-
- '-s -w -X main.version={{.Version}} -X main.commit={{.Commit}}'
18+
- "-s -w -X main.version={{.Version}} -X main.commit={{.Commit}}"
1919
goos:
2020
- freebsd
2121
- windows
@@ -24,15 +24,15 @@ builds:
2424
goarch:
2525
- amd64
2626
- arm64
27-
binary: '{{ .ProjectName }}_v{{ .Version }}'
27+
binary: "{{ .ProjectName }}_v{{ .Version }}"
2828
archives:
2929
- format: zip
30-
name_template: '{{ .ProjectName }}_{{ .Version }}_{{ .Os }}_{{ .Arch }}'
30+
name_template: "{{ .ProjectName }}_{{ .Version }}_{{ .Os }}_{{ .Arch }}"
3131
checksum:
3232
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"
3636
algorithm: sha256
3737
signs:
3838
- artifacts: checksum
@@ -41,15 +41,15 @@ signs:
4141
# need to pass the batch flag to indicate its not interactive.
4242
- "--batch"
4343
- "--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
4545
- "--output"
4646
- "${signature}"
4747
- "--detach-sign"
4848
- "${artifact}"
4949
release:
5050
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"
5353
# If you want to manually examine the release before its live, uncomment this line:
5454
draft: true
5555
changelog:

0 commit comments

Comments
 (0)