This commit is contained in:
Sergey Zhemoytel 2024-03-31 20:28:39 +00:00
parent 651123a0ba
commit 8636172bb4

View file

@ -26,8 +26,8 @@ BuildRequires: upx
%setup -q
%build
export GOPROXY=https://proxy.golang.org/
go mod tidy
export GOPROXY=https://proxy.golang.org/cached-only
#go mod tidy
go build --ldflags="-s -w" .
upx %{name}