Merge这一块

This commit is contained in:
Furina-1013-create
2025-08-22 13:17:18 +08:00
2 changed files with 3 additions and 2 deletions

View File

@@ -54,6 +54,7 @@ class VersionComparator:
# 移除snapshot部分 # 移除snapshot部分
normalized = re.sub(r"-snapshot\.\d+", "", version.strip()) normalized = re.sub(r"-snapshot\.\d+", "", version.strip())
normalized = re.sub(r"-alpha\-\d+", "", version.strip())
# 确保版本号格式正确 # 确保版本号格式正确
if not re.match(r"^\d+(\.\d+){0,2}$", normalized): if not re.match(r"^\d+(\.\d+){0,2}$", normalized):

View File

@@ -11,7 +11,7 @@
"host_application": { "host_application": {
"min_version": "0.8.0", "min_version": "0.8.0",
"max_version": "0.10.0" "max_version": "0.11.0"
}, },
"homepage_url": "https://github.com/MaiBot-Plus/MaiMbot-Pro-Max", "homepage_url": "https://github.com/MaiBot-Plus/MaiMbot-Pro-Max",
"repository_url": "https://github.com/MaiBot-Plus/MaiMbot-Pro-Max", "repository_url": "https://github.com/MaiBot-Plus/MaiMbot-Pro-Max",