Skip to content

Commit 592ed2f

Browse files
committed
dev: update .goreleaser.yml
1 parent 2192097 commit 592ed2f

File tree

1 file changed

+9
-9
lines changed

1 file changed

+9
-9
lines changed

.goreleaser.yml

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,11 @@ builds:
1818
env:
1919
- CGO_ENABLED=0
2020
main: ./cmd/golangci-lint/
21-
ldflags: -s -w -X main.version={{.Version}} -X main.commit={{.Commit}} -X main.date={{.Date}}
21+
ldflags:
22+
- -s -w
23+
- -X main.version={{.Version}}
24+
- -X main.commit={{.Commit}}
25+
- -X main.date={{.Date}}
2226

2327
archive:
2428
format: tar.gz
@@ -49,11 +53,10 @@ changelog:
4953
- Merge branch
5054

5155
dockers:
52-
- image: golangci/golangci-lint
53-
tag_templates:
54-
- '{{ .Tag }}'
55-
- 'v{{ .Major }}.{{ .Minor }}'
56-
- 'latest'
56+
image_templates:
57+
- "golangci/golangci-lint:latest"
58+
- "golangci/golangci-lint:{{ .Tag }}"
59+
- "golangci/golangci-lint:v{{ .Major }}.{{ .Minor }}"
5760

5861
brew:
5962
github:
@@ -64,6 +67,3 @@ brew:
6467
description: Fast linters runner for Go.
6568
test: |
6669
system "#{bin}/golangci-lint --version"
67-
68-
git:
69-
short_hash: true

0 commit comments

Comments
 (0)