diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 6ea5427..fa9dad3 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -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