Skip to content

Commit

Permalink
Use bumpversion to update version number
Browse files Browse the repository at this point in the history
  • Loading branch information
lafrech committed Feb 16, 2018
1 parent 3789538 commit b4b013d
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 0 deletions.
1 change: 1 addition & 0 deletions dev-requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,4 @@ flake8>=3.2.0
pytest>=2.8
pytest-cov>=2.4.0
tox>=2.0
bumpversion>=0.5.3
12 changes: 12 additions & 0 deletions setup.cfg
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
[bumpversion]
current_version = 0.1.0
commit = True
tag = False

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

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

0 comments on commit b4b013d

Please sign in to comment.