Skip to content

Commit

Permalink
Fix version not being updated
Browse files Browse the repository at this point in the history
As it seems that bump2version is not able to modify its own config file.
  • Loading branch information
fepegar committed Jun 9, 2022
1 parent 1700019 commit d6eee76
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 13 deletions.
8 changes: 8 additions & 0 deletions .bumpversion.cfg
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
[bumpversion]
current_version = 0.18.78
commit = True
tag = True

[bumpversion:file:src/torchio/__init__.py]

[bumpversion:file:setup.cfg]
13 changes: 0 additions & 13 deletions setup.cfg
Original file line number Diff line number Diff line change
@@ -1,16 +1,3 @@
[bumpversion]
current_version = 0.18.78
commit = True
tag = True

[bumpversion:file:src/torchio/__init__.py]
search = __version__ = '{current_version}'
replace = __version__ = '{new_version}'

[bumpversion:file:setup.cfg]
search = version = {current_version}
replace = version = {new_version}

[metadata]
name = torchio
version = 0.18.78
Expand Down

0 comments on commit d6eee76

Please sign in to comment.