diff options
author | Erich Eckner <git@eckner.net> | 2018-05-03 12:10:20 +0200 |
---|---|---|
committer | Erich Eckner <git@eckner.net> | 2018-05-03 12:10:20 +0200 |
commit | f86b17abb6958b9034f4fc353e38d3188c544f3f (patch) | |
tree | 724ba7b859cb37dfcf0098e5cb93459b1baccc7c | |
parent | 549144450bb975957b58e3086a396c51bff60b4e (diff) | |
download | github-api-client-f86b17abb6958b9034f4fc353e38d3188c544f3f.tar.xz |
release: put stuff in folder in tarball
-rwxr-xr-x | release | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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 |