Skip to content

Commit 9d1610b

Browse files
committed
dev: update deprecated parts of .goreleaser.yml
1 parent 8510e24 commit 9d1610b

File tree

1 file changed

+24
-24
lines changed

1 file changed

+24
-24
lines changed

.goreleaser.yml

+24-24
Original file line numberDiff line numberDiff line change
@@ -26,16 +26,16 @@ builds:
2626
main: ./cmd/golangci-lint/
2727
ldflags: -s -w -X main.version={{.Version}} -X main.commit={{.ShortCommit}} -X main.date={{.Date}}
2828

29-
archive:
30-
format: tar.gz
31-
wrap_in_directory: true
32-
format_overrides:
33-
- goos: windows
34-
format: zip
35-
name_template: '{{ .Binary }}-{{ .Version }}-{{ .Os }}-{{ .Arch }}{{ if .Arm }}v{{ .Arm }}{{ end }}'
36-
files:
37-
- LICENSE
38-
- README.md
29+
archives:
30+
- format: tar.gz
31+
wrap_in_directory: true
32+
format_overrides:
33+
- goos: windows
34+
format: zip
35+
name_template: '{{ .Binary }}-{{ .Version }}-{{ .Os }}-{{ .Arch }}{{ if .Arm }}v{{ .Arm }}{{ end }}'
36+
files:
37+
- LICENSE
38+
- README.md
3939

4040
snapshot:
4141
name_template: SNAPSHOT-{{ .Commit }}
@@ -60,17 +60,17 @@ dockers:
6060
- "golangci/golangci-lint:{{ .Tag }}"
6161
- "golangci/golangci-lint:v{{ .Major }}.{{ .Minor }}"
6262

63-
brew:
64-
github:
65-
owner: golangci
66-
name: homebrew-tap
67-
folder: Formula
68-
homepage: https://golangci.com
69-
description: Fast linters runner for Go.
70-
install: |
71-
bin.install "golangci-lint"
72-
output = Utils.popen_read("#{bin}/golangci-lint completion bash")
73-
(bash_completion/"golangci-lint").write output
74-
prefix.install_metafiles
75-
test: |
76-
system "#{bin}/golangci-lint --version"
63+
brews:
64+
- github:
65+
owner: golangci
66+
name: homebrew-tap
67+
folder: Formula
68+
homepage: https://golangci.com
69+
description: Fast linters runner for Go.
70+
install: |
71+
bin.install "golangci-lint"
72+
output = Utils.popen_read("#{bin}/golangci-lint completion bash")
73+
(bash_completion/"golangci-lint").write output
74+
prefix.install_metafiles
75+
test: |
76+
system "#{bin}/golangci-lint --version"

0 commit comments

Comments
 (0)