Skip to content

Commit

Permalink
Default to RC releases
Browse files Browse the repository at this point in the history
  • Loading branch information
stchris committed Jul 12, 2023
1 parent 542383e commit 4cd106e
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions .bumpversion.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,20 @@ current_version = 2.6.3
tag_name = {new_version}
commit = True
tag = True
parse = (?P<major>\d+)\.(?P<minor>\d+)\.(?P<patch>\d+)([-](?P<release>(pre|rc))(?P<build>\d+))?
serialize =
{major}.{minor}.{patch}-{release}{build}
{major}.{minor}.{patch}

[bumpversion:part:release]
optional_value = prod
first_value = rc
values =
rc
prod

[bumpversion:part:build]
first_value = 1

[bumpversion:file:setup.py]
search = version="{current_version}"
Expand Down

0 comments on commit 4cd106e

Please sign in to comment.