Skip to content

Commit 2f458fb

Browse files
committed
dev: clean goreleaser configuration
1 parent 3a6d80a commit 2f458fb

File tree

1 file changed

+30
-23
lines changed

1 file changed

+30
-23
lines changed

.goreleaser.yml

+30-23
Original file line numberDiff line numberDiff line change
@@ -51,9 +51,10 @@ archives:
5151
- README.md
5252

5353
snapshot:
54-
name_template: SNAPSHOT-{{ .Commit }}
54+
version_template: SNAPSHOT-{{ .Commit }}
5555

5656
checksum:
57+
disable: false
5758
name_template: '{{ .ProjectName }}-{{ .Version }}-checksums.txt'
5859

5960
changelog:
@@ -73,6 +74,7 @@ changelog:
7374
- Merge branch
7475

7576
release:
77+
skip_upload: false
7678
github:
7779
owner: golangci
7880
name: golangci-lint
@@ -90,12 +92,16 @@ source:
9092
name_template: '{{ .ProjectName }}-{{ .Version }}-source'
9193

9294
brews:
93-
- repository:
95+
- description: Fast linters runner for Go.
96+
homepage: https://golangci.com
97+
skip_upload: false
98+
repository:
9499
owner: golangci
95100
name: homebrew-tap
101+
commit_author:
102+
name: golangci-releaser
103+
96104
directory: Formula
97-
homepage: https://golangci.com
98-
description: Fast linters runner for Go.
99105
install: |
100106
bin.install "golangci-lint"
101107
output = Utils.popen_read("#{bin}/golangci-lint completion bash")
@@ -109,29 +115,29 @@ brews:
109115
system "#{bin}/golangci-lint --version"
110116
111117
chocolateys:
112-
- name: golangci-lint
113-
owners: golangci
118+
- summary: Fast linters Runner for Go
119+
description: |
120+
{{ .ProjectName }} installer package.
121+
Fast linters Runner for Go.
122+
project_url: https://golangci-lint.run
123+
skip_publish: false
124+
name: golangci-lint
114125
title: Golangci-lint
126+
owners: golangci
115127
authors: golangci
116-
project_url: https://golangci-lint.run
128+
copyright: 2024 GolangCI
117129
url_template: "https://github.com/golangci/golangci-lint/releases/download/{{ .Tag }}/{{ .ArtifactName }}"
118130
icon_url: "https://cdn.rawgit.com/golangci/golangci-lint/master/assets/go.png"
119-
copyright: 2024 GolangCI
120131
license_url: https://github.com/golangci/golangci-lint/blob/master/LICENSE
121132
require_license_acceptance: false
122133
project_source_url: https://github.com/golangci/golangci-lint
123134
package_source_url: https://github.com/golangci/golangci-lint
124135
docs_url: https://golangci-lint.run
125136
bug_tracker_url: https://github.com/golangci/golangci-lint/issues
126137
tags: "go golang lint linter"
127-
summary: Fast linters Runner for Go
128-
description: |
129-
{{ .ProjectName }} installer package.
130-
Fast linters Runner for Go.
131138
release_notes: "https://github.com/golangci/golangci-lint/releases/tag/v{{ .Version }}"
132139
api_key: "{{ .Env.CHOCOLATEY_API_KEY }}"
133140
source_repo: "https://push.chocolatey.org/"
134-
skip_publish: false
135141
goamd64: v1
136142

137143
aurs:
@@ -164,26 +170,26 @@ aurs:
164170
./golangci-lint completion fish | install -Dm644 /dev/stdin "${pkgdir}/usr/share/fish/vendor_completions.d/golangci-lint.fish"
165171
166172
snapcrafts:
167-
- name_template: "{{ .ProjectName }}_{{ .Arch }}{{ if .Arm }}v{{ .Arm }}{{ end }}"
168-
grade: stable
169-
confinement: classic
170-
license: GPL-3.0
171-
base: core22
172-
summary: Fast linters runner for Go.
173+
- summary: Fast linters runner for Go.
173174
description: |
174175
It runs linters in parallel, uses caching, supports YAML configuration, integrates with all major IDEs, and includes over a hundred linters.
175176
disable: false
176177
publish: true
178+
name_template: "{{ .ProjectName }}_{{ .Arch }}{{ if .Arm }}v{{ .Arm }}{{ end }}"
179+
grade: stable
180+
confinement: classic
181+
license: GPL-3.0
182+
base: core22
177183

178184
nfpms:
179-
-
185+
- description: Fast linters Runner for Go
186+
homepage: https://golangci-lint.run/
180187
id: golangci-lint-nfpms
181188
package_name: golangci-lint
182189
file_name_template: "{{ .ProjectName }}-{{ .Version }}-{{ .Os }}-{{ .Arch }}{{ if .Arm }}v{{ .Arm }}{{ end }}"
183-
homepage: https://golangci-lint.run/
184-
maintainer: "golangci-lint Team <[email protected]>"
185-
description: Fast linters Runner for Go
190+
maintainer: "Golangci-lint Maintainers <[email protected]>"
186191
license: GPLv3
192+
vendor: golangci
187193
section: golang
188194
formats:
189195
- deb
@@ -246,6 +252,7 @@ docker_manifests:
246252

247253
dockers:
248254
- use: buildx
255+
skip_push: false
249256
goos: linux
250257
goarch: amd64
251258
dockerfile: build/buildx.Dockerfile

0 commit comments

Comments
 (0)