mirror of
https://github.com/goreleaser/goreleaser.git
synced 2025-03-17 20:47:50 +02:00
docs: nfpm: managed empty folders
This commit is contained in:
parent
e165058098
commit
b5c789ec89
@ -91,6 +91,12 @@ nfpm:
|
||||
# Override default /usr/local/bin destination for binaries
|
||||
bindir: /usr/bin
|
||||
|
||||
# Empty folders that should be created and managed by the packager
|
||||
# implementation.
|
||||
# Default is empty.
|
||||
empty_folders:
|
||||
- /var/log/foobar
|
||||
|
||||
# Files or directories to add to your package (beyond the binary).
|
||||
# Keys are source paths/globs to get the files from.
|
||||
# Values are the destination locations of the files in the package.
|
||||
@ -127,6 +133,8 @@ nfpm:
|
||||
- gitk
|
||||
recommends:
|
||||
- tig
|
||||
empty_folders:
|
||||
- /var/log/bar
|
||||
rpm:
|
||||
replacements:
|
||||
amd64: x86_64
|
||||
|
Loading…
x
Reference in New Issue
Block a user