We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8f55403 commit d030203Copy full SHA for d030203
.goreleaser.yaml
@@ -23,8 +23,13 @@ archives:
23
format_overrides:
24
- goos: windows
25
format: zip
26
+
27
upx:
28
- enabled: true
29
+ compress: best
30
+ brute: true
31
+ lzma: true
32
33
34
checksum:
35
name_template: "checksums.txt"
Makefile
@@ -11,7 +11,7 @@ build:
11
12
build-static:
13
GOOS=linux GOARCH=amd64 go build -ldflags="-s -w" -o $(BUILD_DIR)/$(MAIN_PROGRAM_NAME)-linux-static main.go
14
- upx --ultra-brute $(BUILD_DIR)/$(MAIN_PROGRAM_NAME)-linux-static
+ upx --lzma --brute $(BUILD_DIR)/$(MAIN_PROGRAM_NAME)-linux-static
15
16
check-size:
17
ls -alh $(BUILD_DIR)/$(MAIN_PROGRAM_NAME)*
0 commit comments