mirror of
https://github.com/pooneyy/1Panel-Appstore.git
synced 2026-03-17 23:51:03 +08:00
Merge branch 'config' into localApps
This commit is contained in:
commit
cb3cbb1c1e
2
.github/workflows/renovate-app-version.py
vendored
2
.github/workflows/renovate-app-version.py
vendored
@ -25,7 +25,7 @@ def extract_version_from_string(input_string) -> dict:
|
||||
original_candidate = candidate
|
||||
|
||||
# 从复杂标签中提取包含数字和分隔符的版本号部分
|
||||
pattern = r'(\d+(?:[\.\-]\d+)+)'
|
||||
pattern = r'(\d+(?:[\.\-]*\d+)+)'
|
||||
matches = re.findall(pattern, candidate)
|
||||
if matches:
|
||||
# 选择最长的匹配项,并统一分隔符为点号
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user