From ed8eb4ea7b773993f0b1a78dec1dc0179146ddf4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ville=20Skytt=C3=A4?= Date: Sat, 12 Aug 2023 20:29:15 +0300 Subject: [PATCH] dev: packaging improvements (#4009) --- .goreleaser.yml | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) diff --git a/.goreleaser.yml b/.goreleaser.yml index a15d7a6a595d..4463f37cfa8c 100644 --- a/.goreleaser.yml +++ b/.goreleaser.yml @@ -106,6 +106,29 @@ nfpms: maintainer: "golangci-lint Team " description: Fast linters Runner for Go license: GPLv3 + section: golang formats: - deb - rpm + umask: 0o022 + overrides: + deb: + contents: + - src: LICENSE + dst: /usr/share/doc/golangci-lint/copyright + - src: README.md + dst: /usr/share/doc/golangci-lint/README.md + recommends: + - golang-go + rpm: + contents: + - src: LICENSE + dst: /usr/share/doc/golangci-lint/LICENSE + type: license + - src: README.md + dst: /usr/share/doc/golangci-lint/README.md + type: readme + recommends: + - /usr/bin/go + rpm: + group: Development/Tools