From 202d0909a811d96c82aafabdf4099a05b1ced8d6 Mon Sep 17 00:00:00 2001 From: hengyunabc Date: Mon, 12 Aug 2024 15:40:18 +0800 Subject: [PATCH] release 4.0.0 --- Dockerfile | 2 +- Dockerfile-No-Jdk | 2 +- bin/as.sh | 6 +++--- boot/src/main/java/com/taobao/arthas/boot/Bootstrap.java | 2 +- pom.xml | 2 +- 5 files changed, 7 insertions(+), 7 deletions(-) diff --git a/Dockerfile b/Dockerfile index 6246b42af8c..0e33fe8cb26 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,6 +1,6 @@ FROM openjdk:8-jdk-alpine -ARG ARTHAS_VERSION="3.6.8" +ARG ARTHAS_VERSION="4.0.0" ARG MIRROR=false ENV MAVEN_HOST=https://repo1.maven.org/maven2 \ diff --git a/Dockerfile-No-Jdk b/Dockerfile-No-Jdk index 3a69c824ff2..c9f837b7291 100644 --- a/Dockerfile-No-Jdk +++ b/Dockerfile-No-Jdk @@ -1,6 +1,6 @@ FROM alpine -ARG ARTHAS_VERSION="3.6.8" +ARG ARTHAS_VERSION="4.0.0" ARG MIRROR=false ENV MAVEN_HOST=https://repo1.maven.org/maven2 \ diff --git a/bin/as.sh b/bin/as.sh index 15537fb592e..d5375a613bf 100755 --- a/bin/as.sh +++ b/bin/as.sh @@ -8,10 +8,10 @@ # program : Arthas # author : Core Engine @ Taobao.com -# date : 2023-04-19 +# date : 2024-08-12 # current arthas script version -ARTHAS_SCRIPT_VERSION=3.6.8 +ARTHAS_SCRIPT_VERSION=4.0.0 # SYNOPSIS # rreadlink @@ -474,7 +474,7 @@ EXAMPLES: ./as.sh --stat-url 'http://192.168.10.11:8080/api/stat' ./as.sh -c 'sysprop; thread' ./as.sh -f batch.as - ./as.sh --use-version 3.6.8 + ./as.sh --use-version 4.0.0 ./as.sh --session-timeout 3600 ./as.sh --attach-only ./as.sh --disabled-commands stop,dump diff --git a/boot/src/main/java/com/taobao/arthas/boot/Bootstrap.java b/boot/src/main/java/com/taobao/arthas/boot/Bootstrap.java index 80cfb823609..07d6987ceee 100644 --- a/boot/src/main/java/com/taobao/arthas/boot/Bootstrap.java +++ b/boot/src/main/java/com/taobao/arthas/boot/Bootstrap.java @@ -53,7 +53,7 @@ + " java -jar arthas-boot.jar --stat-url 'http://192.168.10.11:8080/api/stat'\n" + " java -jar arthas-boot.jar -c 'sysprop; thread' \n" + " java -jar arthas-boot.jar -f batch.as \n" - + " java -jar arthas-boot.jar --use-version 3.6.8\n" + + " java -jar arthas-boot.jar --use-version 4.0.0\n" + " java -jar arthas-boot.jar --versions\n" + " java -jar arthas-boot.jar --select math-game\n" + " java -jar arthas-boot.jar --session-timeout 3600\n" + " java -jar arthas-boot.jar --attach-only\n" diff --git a/pom.xml b/pom.xml index 92fcba9e96c..208ab1772bc 100644 --- a/pom.xml +++ b/pom.xml @@ -79,7 +79,7 @@ - 4.0.0-SNAPSHOT + 4.0.0 UTF-8 1.8 1.8