v0.8.1 creates much larger artifacts than v0.8.0
itchyny opened this issue · comments
I noticed that the latest goxz, version 0.8.1, creates larger artifacts. Especially for zip archives. Here's reproduction using goxz repository.
% docker run -it --rm -v $PWD/:"/${PWD##*/}" -w "/${PWD##*/}" golang /bin/bash
root@465e75a8b369:/goxz# go install github.com/Songmu/goxz/cmd/goxz@v0.8.0
...
root@465e75a8b369:/goxz# goxz -n goxz -pv=v0.8.0 ./cmd/goxz
...
[goxz] Success!
root@465e75a8b369:/goxz# go install github.com/Songmu/goxz/cmd/goxz@v0.8.1
go: downloading github.com/Songmu/goxz v0.8.1
root@465e75a8b369:/goxz# goxz -n goxz -pv=v0.8.1 ./cmd/goxz
...
[goxz] Success!
root@465e75a8b369:/goxz# ls -al ./goxz/
total 49408
drwxr-xr-x 14 root root 448 Mar 1 12:57 .
drwxr-xr-x 23 root root 736 Mar 1 12:55 ..
-rw-r--r-- 1 root root 3081513 Mar 1 12:56 goxz_v0.8.0_darwin_amd64.zip
-rw-r--r-- 1 root root 2960196 Mar 1 12:56 goxz_v0.8.0_darwin_arm64.zip
-rw-r--r-- 1 root root 3141526 Mar 1 12:56 goxz_v0.8.0_linux_amd64.tar.gz
-rw-r--r-- 1 root root 2920058 Mar 1 12:56 goxz_v0.8.0_linux_arm64.tar.gz
-rw-r--r-- 1 root root 3080869 Mar 1 12:56 goxz_v0.8.0_windows_amd64.zip
-rw-r--r-- 1 root root 2838629 Mar 1 12:56 goxz_v0.8.0_windows_arm64.zip
-rw-r--r-- 1 root root 5583356 Mar 1 12:57 goxz_v0.8.1_darwin_amd64.zip # <- 3081513
-rw-r--r-- 1 root root 5634926 Mar 1 12:57 goxz_v0.8.1_darwin_arm64.zip # <- 2960196
-rw-r--r-- 1 root root 3197498 Mar 1 12:57 goxz_v0.8.1_linux_amd64.tar.gz # <- 3141526
-rw-r--r-- 1 root root 2971548 Mar 1 12:57 goxz_v0.8.1_linux_arm64.tar.gz # <- 2920058
-rw-r--r-- 1 root root 5608832 Mar 1 12:57 goxz_v0.8.1_windows_amd64.zip # <- 3080869
-rw-r--r-- 1 root root 5392768 Mar 1 12:57 goxz_v0.8.1_windows_arm64.zip # <- 2838629
Thanks for the report. I'll check it out.