Skip to content

Commit 4b35e8b

Browse files
niliumThiht
authored andcommitted
build: gzip tarballs
The tar command currently used to create the release `smocker.tar.gz` files isn't compressing the archives, so add the `-z` in there. This should reduce archive sizes from around 32mb to 10-15mb (compressing a released tarball is usually 10mb, my local builds are 15mb, so might vary depending on who runs the build) and not lead to any confusion when folks run `tar -xzf smocker.tar.gz` and find out the it's not compressed. Current instructions using `tar xf` don't need to be updated since that will detect if the archive is compressed.
1 parent 517402b commit 4b35e8b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -130,7 +130,7 @@ build/smocker.tar.gz:
130130
$(MAKE) build
131131
yarn install --frozen-lockfile --ignore-scripts
132132
yarn build
133-
cd build/; tar -cvf smocker.tar.gz *
133+
cd build/; tar -czvf smocker.tar.gz *
134134

135135
.PHONY: release
136136
release: build/smocker.tar.gz

0 commit comments

Comments
 (0)