mirror of https://github.com/coder/coder.git
fix: Revert change from zstd level 22 to level 6 compression (#4086)
This commit is contained in:
parent
9e12850f38
commit
21664c5c58
7
Makefile
7
Makefile
|
@ -37,6 +37,10 @@ GOARCH := $(shell go env GOARCH)
|
|||
GOOS_BIN_EXT := $(if $(filter windows, $(GOOS)),.exe,)
|
||||
VERSION := $(shell ./scripts/version.sh)
|
||||
|
||||
# Use the highest ZSTD compression level for the release binaries. For
|
||||
# development, a sane lower value would be `make build ZSTDFLAGS=-6`.
|
||||
ZSTDFLAGS := -22 --ultra
|
||||
|
||||
# All ${OS}_${ARCH} combos we build for. Windows binaries have the .exe suffix.
|
||||
OS_ARCHES := \
|
||||
linux_amd64 linux_arm64 linux_armv7 \
|
||||
|
@ -102,9 +106,8 @@ build/coder-slim_$(VERSION).tar: build/coder-slim_$(VERSION)_checksums.sha1 $(CO
|
|||
popd
|
||||
|
||||
build/coder-slim_$(VERSION).tar.zst site/out/bin/coder.tar.zst: build/coder-slim_$(VERSION).tar
|
||||
zstd -6 \
|
||||
zstd $(ZSTDFLAGS) \
|
||||
--force \
|
||||
--ultra \
|
||||
--long \
|
||||
--no-progress \
|
||||
-o "build/coder-slim_$(VERSION).tar.zst" \
|
||||
|
|
Loading…
Reference in New Issue