Skip to content

Commit

Permalink
build(.goreleaser.yaml): Add NFPMs configuration
Browse files Browse the repository at this point in the history
  • Loading branch information
buty4649 committed Mar 21, 2024
1 parent ccdddb9 commit 9f35ddc
Showing 1 changed file with 14 additions and 4 deletions.
18 changes: 14 additions & 4 deletions .goreleaser.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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 <[email protected]>
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
Expand Down

0 comments on commit 9f35ddc

Please sign in to comment.