fix ci/cd #2

Merged
wt merged 1 commits from develop into main 2026-10-09 10:03:34 +00:00
+1 -1
View File
@@ -48,7 +48,7 @@ jobs:
actual = json.load(open(path, encoding="utf-8"))["version"]
if actual != expected:
raise SystemExit(f"{path}: version {actual!r} does not match release {expected!r}")
if not re.fullmatch(r"\d+(\.\d+){1,3}", expected):
if not re.fullmatch(r"\d+(\.\d+){0,3}", expected):
raise SystemExit(f"Release version must be numeric, got {expected!r}")
PY