summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xrelease2
1 files changed, 1 insertions, 1 deletions
diff --git a/release b/release
index 17eac93..868b0a8 100755
--- a/release
+++ b/release
@@ -64,7 +64,7 @@ tmp_dir=$(mktemp -d)
trap 'rm -rf --one-file-system "${tmp_dir:?}"' EXIT
>&2 printf 'Creating and signing tarball ...'
-git archive "${tag}" | \
+git archive --prefix="${repo}-${tag}/" "${tag}" | \
xz -9 > \
"${tmp_dir}/${repo}-${tag}.tar.xz"
if ! gpg --detach-sign --local-user erich@eckner.net --local-user arch@eckner.net "${tmp_dir}/${repo}-${tag}.tar.xz"; then