From 157628f0242e24001c4f58237662e448d9b21b07 Mon Sep 17 00:00:00 2001 From: Thomas Braun Date: Wed, 9 Aug 2023 19:44:33 +0200 Subject: [PATCH] tools/create-release.sh: Ignore some more files from submodules We don't want to package any files starting with .git nor sphinx configuration/scripts and neither the update script. --- tools/create-release.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/create-release.sh b/tools/create-release.sh index d3450c65e4..513ab5aace 100755 --- a/tools/create-release.sh +++ b/tools/create-release.sh @@ -68,7 +68,7 @@ git --git-dir=$git_dir archive -o $output_file HEAD git --git-dir=$git_dir submodule --quiet foreach "cd \$toplevel; \$zip_exe -qru \$toplevel/$output_file \$path" # delete .git files from submodules # but these are only present on linux and not on windows ... -git --git-dir=$git_dir submodule --quiet foreach "cd \$toplevel; \$zip_exe -qd \$toplevel/$output_file \$path/.git || :" > /dev/null +git --git-dir=$git_dir submodule --quiet foreach "cd \$toplevel; \$zip_exe -qd \$toplevel/$output_file \$path/.git* \$path/conf.py \$path/make.bat \$path/Makefile \$path/update_specifications.sh || :" > /dev/null /bin/echo -e "$full_version" | $zip_exe -qu $output_file -z version_file=$top_level/version.txt