Commit 9e7e6a9f authored by Guilhem Saurel's avatar Guilhem Saurel
Browse files

use v$TAG instead of HEAD to create a git archive

parent 834ed88c
......@@ -24,7 +24,7 @@ if [[ -d cmake && -x cmake/ ]]
./cmake/ --prefix "${SOFTAG}/" -v "${SOFTAG}.tar"
git archive --format=tar --prefix="${SOFTAG}/" HEAD > ${SOFTAG}.tar
git archive --format=tar --prefix="${SOFTAG}/" "v$TAG" > ${SOFTAG}.tar
echo $TAG > .version
Supports Markdown
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