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

feat: make pkg pass lintian validations #2883

Merged
merged 7 commits into from Feb 5, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
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
30 changes: 26 additions & 4 deletions .goreleaser.yaml
Expand Up @@ -210,19 +210,41 @@ nfpms:
- file_name_template: '{{ .ConventionalFileName }}'
id: packages
homepage: https://goreleaser.com
description: Deliver Go binaries as fast and easily as possible
maintainer: Carlos Alexandro Becker <root@carlosbecker.com>
description: |-
Deliver Go binaries as fast and easily as possible.
GoReleaser allows you to release easily build, package, publish and
announce to several places at one go.
maintainer: Carlos Alexandro Becker <carlos@becker.software>
license: MIT
vendor: GoReleaser
bindir: /usr/bin
section: utils
contents:
- src: ./completions/goreleaser.bash
dst: /etc/bash_completion.d/goreleaser
dst: /usr/share/bash-completion/completions/goreleaser
file_info:
mode: 0644
- src: ./completions/goreleaser.fish
dst: /usr/share/fish/completions/goreleaser.fish
file_info:
mode: 0644
- src: ./completions/goreleaser.zsh
dst: /usr/local/share/zsh/site-functions/_goreleaser
dst: /usr/share/zsh/vendor-completions/_goreleaser
file_info:
mode: 0644
- src: ./manpages/goreleaser.1.gz
dst: /usr/share/man/man1/goreleaser.1.gz
file_info:
mode: 0644
- src: ./LICENSE.md
dst: /usr/share/doc/goreleaser/copyright
file_info:
mode: 0644
- src: .lintian-overrides
dst: ./usr/share/lintian/overrides/goreleaser
packager: deb
file_info:
mode: 0644
formats:
- apk
- deb
Expand Down
2 changes: 2 additions & 0 deletions .lintian-overrides
@@ -0,0 +1,2 @@
goreleaser: statically-linked-binary
goreleaser: changelog-file-missing-in-native-package
2 changes: 1 addition & 1 deletion scripts/manpages.sh
Expand Up @@ -2,4 +2,4 @@
set -e
rm -rf manpages
mkdir manpages
go run . man | gzip -c >manpages/goreleaser.1.gz
go run . man | gzip -c -9 >manpages/goreleaser.1.gz