From 9250560487b9dfd512b869a7fb7d1a841f6b83de Mon Sep 17 00:00:00 2001 From: 0xbug Date: Fri, 21 May 2021 16:42:52 +0800 Subject: [PATCH] =?UTF-8?q?upx=20=E5=8E=8B=E7=BC=A9=E4=BD=93=E7=A7=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- releases.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/releases.sh b/releases.sh index 7a57899..3f528b4 100644 --- a/releases.sh +++ b/releases.sh @@ -1,3 +1,4 @@ CGO_ENABLED=0 GOOS=linux GOARCH=amd64 go build -ldflags '-w -s' -gcflags '-N -l' -o bin/biu-cli_linux_amd64 cmd/biu-cli.go CGO_ENABLED=0 GOOS=windows GOARCH=amd64 go build -ldflags '-w -s' -gcflags '-N -l' -o bin/biu-cli_win_amd64.exe cmd/biu-cli.go -CGO_ENABLED=0 GOOS=darwin GOARCH=amd64 go build -ldflags '-w -s' -gcflags '-N -l' -o bin/biu-cli_darwin_amd64 cmd/biu-cli.go \ No newline at end of file +CGO_ENABLED=0 GOOS=darwin GOARCH=amd64 go build -ldflags '-w -s' -gcflags '-N -l' -o bin/biu-cli_darwin_amd64 cmd/biu-cli.go +upx bin/* \ No newline at end of file