Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
A
arbor
Manage
Activity
Members
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Analyze
Contributor analytics
Repository analytics
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
arbor-sim
arbor
Commits
c70a3cdf
Unverified
Commit
c70a3cdf
authored
4 years ago
by
Sebastian Schmitt
Committed by
GitHub
4 years ago
Browse files
Options
Downloads
Patches
Plain Diff
Fix globbing in tarball script for releases (#1378)
parent
454bac71
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
scripts/create_tarball.sh
+4
-4
4 additions, 4 deletions
scripts/create_tarball.sh
with
4 additions
and
4 deletions
scripts/create_tarball.sh
+
4
−
4
View file @
c70a3cdf
...
...
@@ -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
This diff is collapsed.
Click to expand it.
Preview
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment