From 2df9c28515faa1ae867ac2aa9a6d7e9dcbd9a9e0 Mon Sep 17 00:00:00 2001 From: John Taylor Date: Thu, 16 Apr 2020 13:20:16 +0000 Subject: [PATCH] Update to new .goreleaser format; remove nfpm section --- .goreleaser.yml | 31 +++++++++---------------------- 1 file changed, 9 insertions(+), 22 deletions(-) diff --git a/.goreleaser.yml b/.goreleaser.yml index a605ca5..1071637 100644 --- a/.goreleaser.yml +++ b/.goreleaser.yml @@ -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 -