aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorOphestra <cat@gensokyo.uk>2026-05-04 04:04:18 +0900
committerOphestra <cat@gensokyo.uk>2026-05-04 04:04:18 +0900
commit1cb792cf6efe4d0b0435f7db8c8f341b62fe89c2 (patch)
tree2bc7f5e418e914007145067e6fe29e7aa98729c6
parentb2b40b07e83af85330157e134d1cc591ed4f7c76 (diff)
cmd/dist: increase gzip level
Performance does not matter in this case. Signed-off-by: Ophestra <cat@gensokyo.uk>
-rw-r--r--cmd/dist/main.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmd/dist/main.go b/cmd/dist/main.go
index 5b4594d4..c71dd806 100644
--- a/cmd/dist/main.go
+++ b/cmd/dist/main.go
@@ -130,7 +130,7 @@ func main() {
}()
h := sha512.New()
- gw := gzip.NewWriter(io.MultiWriter(f, h))
+ gw, _ := gzip.NewWriterLevel(io.MultiWriter(f, h), gzip.BestCompression)
tw := tar.NewWriter(gw)
mustWriteHeader := func(name string, size int64, mode os.FileMode) {