Skip to content

Commit

Permalink
fix regex
Browse files Browse the repository at this point in the history
  • Loading branch information
Abhinavcode13 authored Jul 7, 2024
1 parent 1e99ef9 commit eda2950
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions .bumpversion.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -2,17 +2,15 @@
current_version = 0.0.1-dev
commit = True
tag = True
parse = (?P<major>\d+)\.(?P<minor>\d+)\.(?P<patch>\d+)(\-(?P<release>[a-z]+))?
parse = (?P<major>\d+)\.(?P<minor>\d+)\.(?P<patch>\d+)(?:(?P<release>[a-z]+))?
serialize =
{major}.{minor}.{patch}-{release}
{major}.{minor}.{patch}

[bumpversion:file:src/polyphy/_version.py]

[bumpversion:file:setup.py]

[commit]
message = Bump version: {current_version} → {new_version}
message = Bump version: {new_version}

[bumpversion:part:release]
optional_value = gamma
Expand Down

0 comments on commit eda2950

Please sign in to comment.