Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Build rpm and deb packages with goreleaser #1196

Merged
merged 2 commits into from Jul 2, 2020
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
12 changes: 12 additions & 0 deletions .goreleaser.yml
Expand Up @@ -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 }}"
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just want to check if single quote ' in "'{{ .ProjectName }} ... is required.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ah, nice catch, that's a copy paste error from me.

homepage: https://golangci-lint.run/
description: Fast linters Runner for Go
license: GPLv3
formats:
- deb
- rpm