Skip to content

Commit

Permalink
tools/create-release.sh: Ignore some more files from submodules
Browse files Browse the repository at this point in the history
We don't want to package any files starting with .git nor sphinx
configuration/scripts and neither the update script.
  • Loading branch information
t-b committed Aug 9, 2023
1 parent 3f3d026 commit 157628f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tools/create-release.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 157628f

Please sign in to comment.