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.
Этот коммит содержится в:
родитель
e684b144d6
Коммит
49a345cc02
@ -28,7 +28,7 @@ do_tar ()
|
|||||||
{
|
{
|
||||||
tarball=${dirname}.tar.gz
|
tarball=${dirname}.tar.gz
|
||||||
rm -f ${tarball}
|
rm -f ${tarball}
|
||||||
git archive --prefix ${dirname}/ ${tag} -o ${tarball}
|
git archive --format=tar --prefix ${dirname}/ ${tag} | gzip -9 > ${tarball}
|
||||||
|
|
||||||
# Compute SHA256 hash
|
# Compute SHA256 hash
|
||||||
case `uname -s` in
|
case `uname -s` in
|
||||||
|
Загрузка…
Ссылка в новой задаче
Block a user