Skip to content

Commit

Permalink
Fix bumpversion config
Browse files Browse the repository at this point in the history
  • Loading branch information
chiruzzimarco committed Jun 24, 2021
1 parent 9586458 commit b827c7c
Showing 1 changed file with 3 additions and 9 deletions.
12 changes: 3 additions & 9 deletions .bumpversion.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -3,19 +3,13 @@ current_version = 0.3.0.dev1
commit = True
tag = True
parse = (?P<major>\d+)\.(?P<minor>\d+)\.(?P<patch>\d+)(\.dev(?P<dev>\d+))?
serialize =
serialize =
{major}.{minor}.{patch}.dev{dev}
{major}.{minor}.{patch}
commit-args = --no-verify

[bumpversion:file:setup.py]
search = version\="{current_version}"
replace = {new_version}

[bumpversion:file:derex/runner/__init__.py]
search = __version__ \= "{current_version}"
replace = {new_version}

[bumpversion:file:docker-definition/Dockerfile]
search = ENV DEREX_VERSION\='{current_version}'
replace = {new_version}
search = DEREX_VERSION={current_version}
replace = DEREX_VERSION={new_version}

0 comments on commit b827c7c

Please sign in to comment.