Fix goreleaser config

This commit is contained in:
Jan Dittberner 2022-05-29 15:51:53 +02:00
parent c625b6dc9e
commit 71fc599a10

View file

@ -16,7 +16,7 @@ builds:
- -buildmode=pie - -buildmode=pie
- -trimpath - -trimpath
- -v - -v
main: cmd/boardvoting/main.go main: ./cmd/boardvoting
archives: archives:
- replacements: - replacements:
linux: Linux linux: Linux
@ -44,6 +44,8 @@ nfpms:
priority: optional priority: optional
bindir: /srv/cacert-boardvoting bindir: /srv/cacert-boardvoting
contents: contents:
- src: README.md
dst: /usr/share/doc/cacert-boardvoting/README.md
- src: config.yaml.example - src: config.yaml.example
dst: /usr/share/doc/cacert-boardvoting/examples/config.yaml.example dst: /usr/share/doc/cacert-boardvoting/examples/config.yaml.example
- src: cacert-boardvoting.service - src: cacert-boardvoting.service