mirror of
https://github.com/jhillyerd/inbucket.git
synced 2025-12-18 18:17:03 +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:
@@ -74,11 +74,15 @@ nfpms:
|
|||||||
maintainer: github@hillyerd.com
|
maintainer: github@hillyerd.com
|
||||||
description: All-in-one disposable webmail service.
|
description: All-in-one disposable webmail service.
|
||||||
license: MIT
|
license: MIT
|
||||||
files:
|
contents:
|
||||||
"ui/dist/**/*": "/usr/local/share/inbucket/ui"
|
- src: "ui/dist/**/*"
|
||||||
config_files:
|
dst: "/usr/local/share/inbucket/ui"
|
||||||
"etc/linux/inbucket.service": "/lib/systemd/system/inbucket.service"
|
- src: "etc/linux/inbucket.service"
|
||||||
"ui/greeting.html": "/etc/inbucket/greeting.html"
|
dst: "/lib/systemd/system/inbucket.service"
|
||||||
|
type: config|noreplace
|
||||||
|
- src: "ui/greeting.html"
|
||||||
|
dst: "/etc/inbucket/greeting.html"
|
||||||
|
type: config|noreplace
|
||||||
|
|
||||||
snapshot:
|
snapshot:
|
||||||
name_template: SNAPSHOT-{{ .Commit }}
|
name_template: SNAPSHOT-{{ .Commit }}
|
||||||
|
|||||||
Reference in New Issue
Block a user