feat: fix go work go version and build scripts

Signed-off-by: Xinwei Xiong(cubxxw-openim) <3293172751nss@gmail.com>
Xinwei Xiong(cubxxw-openim) 2 years ago
parent d857f6e7d1
commit 562e4f8322
No known key found for this signature in database
GPG Key ID: 1BAD6F395338EFDE

@ -1,4 +1,4 @@
go 1.21.0 go 1.20.0
use ( use (
. .

@ -30,9 +30,6 @@ OPENIM_ROOT=$(dirname "${BASH_SOURCE[0]}")/..
source "${OPENIM_ROOT}/scripts/lib/init.sh" source "${OPENIM_ROOT}/scripts/lib/init.sh"
# CPU core number # CPU core number
# Check the system type
system_type=$(uname)
pushd ""${OPENIM_ROOT}"/tools/ncpu" >/dev/null pushd ""${OPENIM_ROOT}"/tools/ncpu" >/dev/null
cpu_count=$(go run .) cpu_count=$(go run .)
popd >/dev/null popd >/dev/null

@ -1,3 +1,3 @@
module github.com/OpenIMSDK/Open-IM-Server/tools/versionchecker module github.com/OpenIMSDK/Open-IM-Server/tools/versionchecker
go 1.21.0 go 1.20.0

Loading…
Cancel
Save