Compare commits
2
Commits
5dcd170d74
...
2067b7f94c
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
2067b7f94c | ||
|
|
9e2ef513a0 |
@@ -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