-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
build(.goreleaser.yaml): Add NFPMs configuration
- Loading branch information
Showing
1 changed file
with
14 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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 | ||
|