1
0
mirror of https://github.com/jhillyerd/inbucket.git synced 2025-12-17 09:37:02 +00:00

goreleaser: update nfpm config to use contents attrib (#220)

fixes #219

Signed-off-by: James Hillyerd <james@hillyerd.com>
This commit is contained in:
James Hillyerd
2021-07-11 10:05:00 -07:00
committed by GitHub
parent 8562c55c98
commit 11f3879442

View File

@@ -74,11 +74,15 @@ nfpms:
maintainer: github@hillyerd.com
description: All-in-one disposable webmail service.
license: MIT
files:
"ui/dist/**/*": "/usr/local/share/inbucket/ui"
config_files:
"etc/linux/inbucket.service": "/lib/systemd/system/inbucket.service"
"ui/greeting.html": "/etc/inbucket/greeting.html"
contents:
- src: "ui/dist/**/*"
dst: "/usr/local/share/inbucket/ui"
- src: "etc/linux/inbucket.service"
dst: "/lib/systemd/system/inbucket.service"
type: config|noreplace
- src: "ui/greeting.html"
dst: "/etc/inbucket/greeting.html"
type: config|noreplace
snapshot:
name_template: SNAPSHOT-{{ .Commit }}