From 49a345cc023092a5503e7bb965742f8f1a7b5938 Mon Sep 17 00:00:00 2001 From: "Bruce A. Mah" Date: Mon, 10 Mar 2014 13:30:20 -0700 Subject: [PATCH] Roll tarballs slightly differently so we actually get compression. We were relying on "git archive" being able to create tar.gz files, but that ability isn't present in the git that comes with CentOS 6, so we use git to create a tar file and then compress it ourselves. --- make_release | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/make_release b/make_release index be5d171..3213e20 100755 --- a/make_release +++ b/make_release @@ -28,7 +28,7 @@ do_tar () { tarball=${dirname}.tar.gz rm -f ${tarball} - git archive --prefix ${dirname}/ ${tag} -o ${tarball} + git archive --format=tar --prefix ${dirname}/ ${tag} | gzip -9 > ${tarball} # Compute SHA256 hash case `uname -s` in