From 7eb91ef9646eec899ff3da3a92b68fcf1255ccab Mon Sep 17 00:00:00 2001
From: Carlos Alexandro Becker <caarlos0@gmail.com>
Date: Tue, 27 Mar 2018 21:07:33 -0300
Subject: [PATCH] docs: documented nfpm globs support

---
 docs/100-linux-packages.md | 8 +++++---
 1 file changed, 5 insertions(+), 3 deletions(-)

diff --git a/docs/100-linux-packages.md b/docs/100-linux-packages.md
index 556c932f4..4cf787b2c 100644
--- a/docs/100-linux-packages.md
+++ b/docs/100-linux-packages.md
@@ -89,18 +89,20 @@ nfpm:
   bindir: /usr/bin
 
   # Files or directories to add to your package (beyond the binary).
-  # Keys are source paths to get the files from.
+  # Keys are source paths/globs to get the files from.
   # Values are the destination locations of the files in the package.
   files:
     "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
   # the files keyword, except package managers treat them differently (while
   # uninstalling, mostly).
-  # Keys are source paths to get the files from.
+  # Keys are source paths/globs to get the files from.
   # Values are the destination locations of the files in the package.
   config_files:
-    "conf/app.conf": "/etc/app.conf"
+    "tmp/app_generated.conf": "/etc/app.conf"
+    "conf/*.conf": "/etc/foo/"
 ```
 
 Note that GoReleaser will not install `rpmbuild` or any dependencies for you.