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

This commit is contained in:
zhangyuheng 2024-04-28 17:48:30 +08:00
parent 3095f6670a
commit 1a88653e61
2 changed files with 6 additions and 2 deletions

View File

@ -6,7 +6,7 @@
<groupId>cn.lunadeer</groupId>
<artifactId>ColorfulMap</artifactId>
<version>1.3</version>
<version>1.4</version>
<packaging>jar</packaging>
<name>ColorfulMap</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);