1
0
mirror of https://github.com/goreleaser/goreleaser.git synced 2025-03-17 20:47:50 +02:00

docs: nfpm file glob

closes #1266

Signed-off-by: Carlos Alexandro Becker <caarlos0@gmail.com>
This commit is contained in:
Carlos Alexandro Becker 2019-12-22 15:06:34 -03:00
parent 3c3f9727b0
commit 85a0168c9b
No known key found for this signature in database
GPG Key ID: E61E2F7DC14AB940

View File

@ -100,11 +100,12 @@ nfpms:
empty_folders:
- /var/log/foobar
# Files or directories to add to your package (beyond the binary).
# Files 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.
# Use globs to add all contents of a folder.
files:
"scripts/etc/init.d/": "/etc/init.d"
"scripts/etc/init.d/**": "/etc/init.d"
"path/**/glob": "/var/foo/glob"
# Config files to add to your package. They are about the same as