From 0bbd719a5f23b96c9f3f8214f2d0a1c54e12f600 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=90=B4=E5=B0=8F=E7=99=BD?= <296015668@qq.com> Date: Fri, 12 Jul 2024 15:54:06 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E6=B7=BB=E5=8A=A0=20mongosh?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- VERSION | 2 +- prepare.sh | 9 ++++++++- 2 files changed, 9 insertions(+), 2 deletions(-) diff --git a/VERSION b/VERSION index f684230..85937e4 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -v4.0.0 \ No newline at end of file +v4.0.1 \ No newline at end of file diff --git a/prepare.sh b/prepare.sh index a460002..1de6942 100755 --- a/prepare.sh +++ b/prepare.sh @@ -11,6 +11,7 @@ MRD_VERSION=10.6.7 VIDEO_PLAYER_VERSION=0.1.9 OPENSSH_VERSION=v9.4.0.0 Client_VERSION=v2.1.3 +MONGOSH_VERSION=2.2.12 DOWNLOAD_URL=https://download.jumpserver.org @@ -47,4 +48,10 @@ wget --no-clobber https://github.com/jumpserver/clients/releases/download/${Clie wget --no-clobber https://github.com/jumpserver/clients/releases/download/${Client_VERSION}/JumpServer-Client-Installer-mac-${Client_VERSION}-x64.dmg wget --no-clobber https://github.com/jumpserver/clients/releases/download/${Client_VERSION}/JumpServer-Client-Installer-mac-${Client_VERSION}-arm64.dmg wget --no-clobber https://github.com/jumpserver/clients/releases/download/${Client_VERSION}/JumpServer-Client-Installer-linux-${Client_VERSION}-amd64.deb -wget --no-clobber https://github.com/jumpserver/clients/releases/download/${Client_VERSION}/JumpServer-Client-Installer-linux-${Client_VERSION}-arm64.deb \ No newline at end of file +wget --no-clobber https://github.com/jumpserver/clients/releases/download/${Client_VERSION}/JumpServer-Client-Installer-linux-${Client_VERSION}-arm64.deb + +if [ "${USE_XPACK}" = 0 ]; then + for arch in x64 arm64 ppc64le s390x; do + wget --no-clobber https://downloads.mongodb.com/compass/mongosh-${MONGOSH_VERSION}-linux-${arch}.tgz + done +fi \ No newline at end of file