This commit is contained in:
Sergey Zhemoytel 2024-03-31 20:20:21 +00:00
parent dc7dec02fd
commit 651123a0ba

View file

@ -27,7 +27,8 @@ BuildRequires: upx
%build %build
export GOPROXY=https://proxy.golang.org/ export GOPROXY=https://proxy.golang.org/
go build go mod tidy
go build --ldflags="-s -w" .
upx %{name} upx %{name}