From b62ec39786294991e5caab5e483d83e5d7e4b1e2 Mon Sep 17 00:00:00 2001 From: leefan <980488905@qq.com> Date: Thu, 25 Apr 2024 10:50:10 +0800 Subject: [PATCH] =?UTF-8?q?mindspore=E7=A4=BE=E5=8C=BAinstall=E6=96=87?= =?UTF-8?q?=E6=A1=A3r2.3.q1=E7=89=88=E6=9C=AC=E6=9B=BF=E6=8D=A2=E6=88=90r2?= =?UTF-8?q?.3.0rc1?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- mindspore/src/main/java/Parse.java | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/mindspore/src/main/java/Parse.java b/mindspore/src/main/java/Parse.java index 6c3de64..88bd943 100644 --- a/mindspore/src/main/java/Parse.java +++ b/mindspore/src/main/java/Parse.java @@ -189,7 +189,12 @@ public static Boolean parseInstall(Map jsonMap, String fileConte String v = path.substring(path.indexOf("/") + 1); int location = v.indexOf("/"); if (location > 0) { - jsonMap.put("version", v.substring(0, location)); + String version=v.substring(0, location); + //install文档r2.3.q1版本替换成r2.3.0rc1 + if("r2.3.q1".equals(version)){ + version="r2.3.0rc1"; + } + jsonMap.put("version", version); } else { jsonMap.put("version", "-"); }