add rpm and deb files to releases
@@ -47,3 +47,22 @@ changelog:
exclude:
- "^docs:"
- "^test:"
+
+nfpms:
+ -
+ id: gnmic
+ file_name_template: "{{ .ProjectName }}_{{ .Version }}_{{ .Os }}_{{ .Arch }}"
+ replacements:
+ amd64: x86_64
+ 386: i386
+ darwin: darwin
+ linux: linux
+ vendor: gnmic
+ homepage: https://gnmic.kmrd.dev
+ maintainer: Karim Radhouani <medkarimrdi@gmail.com>, Roman Dodin <dodin.roman@gmail.com>
+ description: gNMI CLI client and collector
+ license: Apache 2.0
+ formats:
+ - deb
+ - rpm
+ bindir: /usr/local/bin
