From 9f35ddcc721502ec259ed511bb9b3b72e0e12b80 Mon Sep 17 00:00:00 2001 From: buty4649 Date: Thu, 21 Mar 2024 10:54:49 +0900 Subject: [PATCH] build(.goreleaser.yaml): Add NFPMs configuration --- .goreleaser.yaml | 18 ++++++++++++++---- 1 file changed, 14 insertions(+), 4 deletions(-) diff --git a/.goreleaser.yaml b/.goreleaser.yaml index 187abee..6afe07b 100644 --- a/.goreleaser.yaml +++ b/.goreleaser.yaml @@ -36,10 +36,20 @@ archives: {{- else if eq .Arch "386" }}i386 {{- else }}{{ .Arch }}{{ end }} {{- if .Arm }}v{{ .Arm }}{{ end }} - # use zip for windows archives - format_overrides: - - goos: windows - format: zip + +nfpms: + - homepage: https://github.com/buty4649/netnsplan/ + maintainer: buty4649 + description: Easily automate Linux netns networks and configurations via YAML + formats: + - deb + - rpm + bindir: /usr/sbin + section: net + contents: + - src: sample/netnsplan.yaml + dst: /etc/netnsplan/netnsplan.yaml + type: config changelog: sort: asc