don't include .git directories in source archive

parent 34bb68d0
Pipeline #3021 passed with stages
in 32 minutes and 32 seconds
......@@ -248,6 +248,8 @@ def create_sources_jar(versions):
jar_files = []
for root, dir_names, filenames in os.walk(EXT_DIR):
for f in filenames:
if '/.git' in root:
continue
jar_files.append(os.path.join(root, f))
for file in jar_files:
reset_time(file)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment