From f86b17abb6958b9034f4fc353e38d3188c544f3f Mon Sep 17 00:00:00 2001 From: Erich Eckner Date: Thu, 3 May 2018 12:10:20 +0200 Subject: release: put stuff in folder in tarball --- release | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- cgit v1.2.3-70-g09d2