Skip to content

Commit

Permalink
Update to new .goreleaser format; remove nfpm section
Browse files Browse the repository at this point in the history
  • Loading branch information
jftuga committed Apr 16, 2020
1 parent e1c924d commit 2df9c28
Showing 1 changed file with 9 additions and 22 deletions.
31 changes: 9 additions & 22 deletions .goreleaser.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,29 +21,16 @@ build:
goarch: arm
- goos: freebsd
goarch: mips
archive:
name_template: "{{ .ProjectName }}_{{ .Version }}_{{ .Os }}_{{ .Arch }}{{ .Arm }}"
format: tar.xz
format_overrides:
- goos: windows
format: zip
replacements:
darwin: macOS
wrap_in_directory: true
archives:
- name_template: "{{ .ProjectName }}_{{ .Version }}_{{ .Os }}_{{ .Arch }}{{ .Arm }}"
format: tar.xz
format_overrides:
- goos: windows
format: zip
replacements:
darwin: macOS
wrap_in_directory: true
checksum:
name_template: "{{ .ProjectName }}_{{ .Version }}--sha256_checksums.txt"
release:
draft: true
nfpm:
name_template: "{{ .ProjectName }}_{{ .Version }}_{{ .Os }}_{{ .Arch }}{{ .Arm }}"
homepage: https://github.com/jftuga/nics
description: nics, Display information about Network Interface Cards (NICs)
maintainer: https://reddit.com/u/jftuga
license: MIT
vendor: jftuga
formats:
- deb
- rpm
recommends:
- rpm

0 comments on commit 2df9c28

Please sign in to comment.