diff --git a/pyproject.toml b/pyproject.toml index c06dc5b..e5d3780 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -34,20 +34,8 @@ name = "bsb_hdf5" [tool.bumpversion] current_version = "4.0.0" -parse = """(?x) - (?P0|[1-9]\\d*)\\. - (?P0|[1-9]\\d*)\\. - (?P0|[1-9]\\d*) - (?: - - # dash seperator for pre-release section - (?P[a-zA-Z-]+) # pre-release label - (?P0|[1-9]\\d*) # pre-release version number - )? # pre-release section is optional -""" -serialize = [ - "{major}.{minor}.{patch}-{pre_l}{pre_n}", - "{major}.{minor}.{patch}", -] +parse = "(?P\\d+)\\.(?P\\d+)\\.(?P\\d+)" +serialize = ["{major}.{minor}.{patch}"] search = "{current_version}" replace = "{new_version}" regex = false