Skip to content

Commit

Permalink
fix(packaging): Improve metadata in Linux packages (#1021)
Browse files Browse the repository at this point in the history
* Ensure that copyright information is included in DEB packages

  * Ensure that a 'descrption' is included in DEB and RPM packages
  • Loading branch information
kpfleming authored Sep 27, 2023
1 parent 24761dc commit 10936e6
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .goreleaser.yml
Original file line number Diff line number Diff line change
Expand Up @@ -144,9 +144,14 @@ nfpms:
maintainer: Fastly
homepage: https://github.com/fastly/cli
bindir: /usr/local/bin
description: CLI tool for interacting with the Fastly API.
formats:
- deb
- rpm
contents:
- src: deb-copyright
dst: /usr/share/doc/fastly/copyright
packager: deb

# https://goreleaser.com/customization/checksum/
checksum:
Expand Down
6 changes: 6 additions & 0 deletions deb-copyright
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
Source: https://github.com/fastly/cli
Upstream-Contact: https://github.com/fastly/cli/issues
License: Apache
On Debian systems, the complete text of the Apache version 2.0 license can be
found in `/usr/share/common-licenses/Apache-2.0'.

0 comments on commit 10936e6

Please sign in to comment.