Build rpm and deb packages with goreleaser (#1196)

* Build rpm and deb packages with goreleaser

* Remove faulty single quote
This commit is contained in:
Simon Sawert 2020-07-02 13:55:33 +02:00 committed by GitHub
parent 184bbf8eca
commit 954127e56d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -95,3 +95,15 @@ brews:
prefix.install_metafiles
test: |
system "#{bin}/golangci-lint --version"
nfpms:
-
id: golangci-lint-nfpms
package_name: golangci-lint
file_name_template: "{{ .ProjectName }}-{{ .Version }}-{{ .Os }}-{{ .Arch }}{{ if .Arm }}v{{ .Arm }}{{ end }}"
homepage: https://golangci-lint.run/
description: Fast linters Runner for Go
license: GPLv3
formats:
- deb
- rpm