From 1cb792cf6efe4d0b0435f7db8c8f341b62fe89c2 Mon Sep 17 00:00:00 2001 From: Ophestra Date: Mon, 4 May 2026 04:04:18 +0900 Subject: [PATCH] cmd/dist: increase gzip level Performance does not matter in this case. Signed-off-by: Ophestra --- cmd/dist/main.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) {