Skip to content

Commit

Permalink
chore: adding bumpversion configuration.
Browse files Browse the repository at this point in the history
Signed-off-by: Matteo Manica <drugilsberg@gmail.com>
  • Loading branch information
drugilsberg committed Feb 16, 2024
1 parent e2231b2 commit 31ef5db
Showing 1 changed file with 28 additions and 0 deletions.
28 changes: 28 additions & 0 deletions .bumpversion.cfg
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
[bumpversion]
current_version = 2.0.0
tag = False
commit = False
parse = ^
(?P<major>\d+)\.(?P<minor>\d+)\.(?P<patch>\d+)
(\.(?P<develop>alpha|beta|dev|rc) # pre-release
(?P<build>\d+) # pre-release version num
)?
(\+(?P<local>.*))? # local
serialize =
{major}.{minor}.{patch}.{develop}{build}+{local}
{major}.{minor}.{patch}.{develop}{build}
{major}.{minor}.{patch}+{local}
{major}.{minor}.{patch}

[bumpversion:file:src/rxn/availability/__init__.py]
search = __version__ = "{current_version}" # managed by bump2version
replace = __version__ = "{new_version}" # managed by bump2version

[bumpversion:part:develop]
optional_value = _
values =
_
dev
alpha
beta
rc

0 comments on commit 31ef5db

Please sign in to comment.