scripts/make-release: Don't archive .git files
commitd0081e8f260d012d050405d1e549b445948d1451
authorCole Robinson <crobinso@redhat.com>
Tue, 30 Jan 2018 19:33:35 +0000 (30 14:33 -0500)
committerMichael Tokarev <mjt@tls.msk.ru>
Sat, 10 Feb 2018 07:11:20 +0000 (10 10:11 +0300)
treeb868bed2e6d6219f75029fed587cba32e26c7a4b
parent16fdc56a690be9dec55435365a4afbb52befb956
scripts/make-release: Don't archive .git files

As was last done in 379e21c25, we don't want .git files for
submodules here, which we aren't presently doing for capstone and
keycodemapdb.

Rather than delete the offending files before archiving, ask tar
to --exclude=.git

Signed-off-by: Cole Robinson <crobinso@redhat.com>
Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>
Reviewed-by: Thomas Huth <thuth@redhat.com>
scripts/make-release