fix ci/cd #2
@@ -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