Compile server for windows as well.

This commit is contained in:
notsure2 2024-06-30 17:13:55 +03:00
parent fa941acbd6
commit 98462544c7
1 changed files with 2 additions and 2 deletions

View File

@ -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/*
sha256sum release/*