From 98462544c7239db3e118446d2301e54fc8a5a438 Mon Sep 17 00:00:00 2001 From: notsure2 Date: Sun, 30 Jun 2024 17:13:55 +0300 Subject: [PATCH] Compile server for windows as well. --- release.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/release.sh b/release.sh index 2f447f0..9f78802 100755 --- a/release.sh +++ b/release.sh @@ -27,11 +27,11 @@ CGO_ENABLED=0 GOOS="linux" GOARCH="mipsle" GOMIPS="softfloat" go build -ldflags mv ck-client-* ../../release popd -os="linux" +os="windows linux" arch="amd64 386 arm arm64" pushd cmd/ck-server CGO_ENABLED=0 gox -ldflags "-X main.version=${v}" -os="$os" -arch="$arch" -osarch="$osarch" -output="$output" mv ck-server-* ../../release popd -sha256sum release/* \ No newline at end of file +sha256sum release/*