更新了自动检查更新的提示信息
All checks were successful
Java CI-CD with Maven / build (push) Successful in 8m20s

This commit is contained in:
zhangyuheng 2024-04-28 17:47:21 +08:00
parent 987885720b
commit aa5674abad
2 changed files with 6 additions and 2 deletions

View File

@ -6,7 +6,7 @@
<groupId>cn.lunadeer</groupId>
<artifactId>MiniPlayerTitle</artifactId>
<version>2.11.3</version>
<version>2.11.4</version>
<packaging>jar</packaging>
<name>MiniPlayerTitle</name>

View File

@ -87,7 +87,11 @@ public class GiteaReleaseCheck {
XLogger.debug("HTML URL: " + latest_release.html_url);
if (isNewVersion(current_version, latest_release.tag_name)) {
XLogger.info("发现新版本:" + latest_release.tag_name);
XLogger.info("版本信息:" + latest_release.message);
XLogger.info("版本信息:");
String[] message = latest_release.message.split("\n");
for (String line : message) {
XLogger.info("\t" + line);
}
XLogger.info("下载页面:" + latest_release.html_url);
} else {
XLogger.info("当前已是最新版本:" + current_version);