Skip to content

Commit 39c141b

Browse files
committed
don't include .git files in source packages
the existing ".git/" rule only filters out .git directories, but as we have submodules now, we have to filter out .git files too.
1 parent a50e6c9 commit 39c141b

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

cmake/cpack_source_ignore_files.cmake

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@
1515

1616
SET(CPACK_SOURCE_IGNORE_FILES
1717
\\\\.git/
18+
\\\\.git$
1819
\\\\.gitignore$
1920
\\\\.gitattributes$
2021
CMakeCache\\\\.txt$

0 commit comments

Comments
 (0)