更新了自动更新脚本提示信息
All checks were successful
Java CI-CD with Maven / build (push) Successful in 8m18s

This commit is contained in:
zhangyuheng 2024-04-28 17:49:58 +08:00
parent 4767d270f2
commit d7362c2f0d
2 changed files with 6 additions and 2 deletions

View File

@ -6,7 +6,7 @@
<groupId>cn.lunadeer</groupId>
<artifactId>LiteWorldEdit</artifactId>
<version>2.4.3.2</version>
<version>2.4.3.3</version>
<packaging>jar</packaging>
<name>LiteWorldEdit</name>

View File

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