更新了自动检查更新提示信息

This commit is contained in:
zhangyuheng 2024-04-28 17:14:34 +08:00
parent 2c344c895c
commit 3c38d4eb94
2 changed files with 2 additions and 2 deletions

View File

@ -6,7 +6,7 @@
<groupId>cn.lunadeer</groupId>
<artifactId>Dominion</artifactId>
<version>1.21.8-beta</version>
<version>1.21.9-beta</version>
<packaging>jar</packaging>
<name>Dominion</name>

View File

@ -73,7 +73,7 @@ public class GiteaReleaseCheck {
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) {