Skip to content

Commit

Permalink
separate out bumpversion configuration
Browse files Browse the repository at this point in the history
[ci skip]
  • Loading branch information
Anthchirp committed Oct 29, 2020
1 parent 04d85c7 commit 9377ef3
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 13 deletions.
12 changes: 12 additions & 0 deletions .bumpversion.cfg
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
[bumpversion]
current_version = 2.2.0
commit = True
tag = True

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

[bumpversion:file:procrunner/__init__.py]
search = __version__ = "{current_version}"
replace = __version__ = "{new_version}"
13 changes: 0 additions & 13 deletions setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -4,19 +4,6 @@ project-urls =
GitHub = https://github.com/DiamondLightSource/python-procrunner
Bug-Tracker = https://github.com/DiamondLightSource/python-procrunner/issues

[bumpversion]
current_version = 2.2.0
commit = True
tag = True

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

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

[flake8]
exclude = docs

Expand Down

0 comments on commit 9377ef3

Please sign in to comment.