From 3c38d4eb94bb1fef7396269b92f5ac7b5c339e13 Mon Sep 17 00:00:00 2001 From: zhangyuheng Date: Sun, 28 Apr 2024 17:14:34 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0=E4=BA=86=E8=87=AA=E5=8A=A8?= =?UTF-8?q?=E6=A3=80=E6=9F=A5=E6=9B=B4=E6=96=B0=E6=8F=90=E7=A4=BA=E4=BF=A1?= =?UTF-8?q?=E6=81=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pom.xml | 2 +- src/main/java/cn/lunadeer/dominion/utils/GiteaReleaseCheck.java | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/pom.xml b/pom.xml index eff0c978..f09f1cff 100644 --- a/pom.xml +++ b/pom.xml @@ -6,7 +6,7 @@ cn.lunadeer Dominion - 1.21.8-beta + 1.21.9-beta jar Dominion diff --git a/src/main/java/cn/lunadeer/dominion/utils/GiteaReleaseCheck.java b/src/main/java/cn/lunadeer/dominion/utils/GiteaReleaseCheck.java index 6f152199..ce445a15 100644 --- a/src/main/java/cn/lunadeer/dominion/utils/GiteaReleaseCheck.java +++ b/src/main/java/cn/lunadeer/dominion/utils/GiteaReleaseCheck.java @@ -73,7 +73,7 @@ private void getLatestRelease() { JSONObject latestRelease = (JSONObject) releaseList.get(0); GiteaRelease release = new GiteaRelease(); release.tag_name = (String) latestRelease.get("tag_name"); - release.message = getTagMessage(release.tag_name); + release.message = (String) latestRelease.get("body"); release.html_url = (String) latestRelease.get("html_url"); JSONArray assets = (JSONArray) latestRelease.get("assets"); if (assets.size() > 0) {