Merge这一块
This commit is contained in:
@@ -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):
|
||||||
|
|||||||
@@ -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",
|
||||||
@@ -47,4 +47,4 @@
|
|||||||
"历史记录避重"
|
"历史记录避重"
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user