forked from ungleich-public/cdist
Fix missing trailing slash for archive prefix.
This commit is contained in:
parent
1815936b7d
commit
25bfad452c
2 changed files with 2 additions and 2 deletions
|
@ -196,7 +196,7 @@ eof
|
|||
archivename="$3"
|
||||
else
|
||||
archivename="cdist-${tag}.tar.gz"
|
||||
git archive --prefix="cdist-${tag}" -o "${archivename}" "${tag}" \
|
||||
git archive --prefix="cdist-${tag}/" -o "${archivename}" "${tag}" \
|
||||
|| exit 1
|
||||
fi
|
||||
gpg --armor --detach-sign "${archivename}" || exit 1
|
||||
|
|
|
@ -231,7 +231,7 @@ eof
|
|||
archivename="$3"
|
||||
else
|
||||
archivename="cdist-${tag}.tar.gz"
|
||||
git archive --prefix="cdist-${tag}" -o "${archivename}" "${tag}" \
|
||||
git archive --prefix="cdist-${tag}/" -o "${archivename}" "${tag}" \
|
||||
|| exit 1
|
||||
fi
|
||||
gpg --armor --detach-sign "${archivename}" || exit 1
|
||||
|
|
Loading…
Reference in a new issue