Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Olivier Stasse
Gepetto Utils
Commits
9e7e6a9f
Commit
9e7e6a9f
authored
Jun 12, 2018
by
Guilhem Saurel
Browse files
use v$TAG instead of HEAD to create a git archive
parent
834ed88c
Changes
1
Hide whitespace changes
Inline
Side-by-side
scripts/release.sh
View file @
9e7e6a9f
...
...
@@ -24,7 +24,7 @@ if [[ -d cmake && -x cmake/git-archive-all.sh ]]
then
./cmake/git-archive-all.sh
--prefix
"
${
SOFTAG
}
/"
-v
"
${
SOFTAG
}
.tar"
else
git archive
--format
=
tar
--prefix
=
"
${
SOFTAG
}
/"
HEAD
>
${
SOFTAG
}
.tar
git archive
--format
=
tar
--prefix
=
"
${
SOFTAG
}
/"
"v
$TAG
"
>
${
SOFTAG
}
.tar
fi
echo
$TAG
>
.version
...
...
Write
Preview
Supports
Markdown
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!
Cancel
Please
register
or
sign in
to comment