Skip to content
Snippets Groups Projects
Unverified Commit c70a3cdf authored by Sebastian Schmitt's avatar Sebastian Schmitt Committed by GitHub
Browse files

Fix globbing in tarball script for releases (#1378)

parent 454bac71
No related branches found
No related tags found
No related merge requests found
......@@ -39,12 +39,12 @@ git checkout "$CHECKOUT"
git submodule init
git submodule update
# remove all version control files but not the .git directories themselves
rm -vrf -- **/.git/*
# remove main .git, only submodule .gits are still present
# remove main .git
rm -vrf .git
# wipe .git submodule files
find -type f -name .git | xargs truncate -s 0
# create tar ball
cd ..
tar vcfz "$OUT_TARBALL" $REPO_NAME
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