diff --git a/new-release.py b/new-release.py index c7bb70b..5c0a778 100755 --- a/new-release.py +++ b/new-release.py @@ -77,7 +77,8 @@ def get_last_version(): def inc_version(v, feature=False): - if v == "0.": + if v.startswith("v0."): + assert v == "v0.14.6" return "15.0" # v4.11 -> v4.12 or v5.0 parts = v.split(".")