Skip to content

Commit e0b9fda

Browse files
author
Matthew Fisher
committed
Merge pull request #2218 from bacongobbler/tarball
ref(builder): compress archive into tarball
2 parents 476b255 + d63a2cb commit e0b9fda

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

builder/slugbuilder/builder/build.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -106,9 +106,9 @@ fi
106106
## Produce slug
107107

108108
if [[ -f "$build_root/.slugignore" ]]; then
109-
tar --exclude='.git' -X "$build_root/.slugignore" -C $build_root -cf $slug_file . | cat
109+
tar -z --exclude='.git' -X "$build_root/.slugignore" -C $build_root -cf $slug_file . | cat
110110
else
111-
tar --exclude='.git' -C $build_root -cf $slug_file . | cat
111+
tar -z --exclude='.git' -C $build_root -cf $slug_file . | cat
112112
fi
113113

114114
if [[ "$slug_file" != "-" ]]; then

0 commit comments

Comments
 (0)