fix ci/cd
This commit is contained in:
1 parent
319bcdefbd
commit
9e2ef513a0
1 file changed
+1
-1
@@ -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
|
||||
|
||||
|
||||
Reference in new issue
Block a user