Skip to content

Commit

Permalink
Add bumpversion config
Browse files Browse the repository at this point in the history
  • Loading branch information
labrys committed Dec 28, 2018
1 parent 3b0b7ba commit 6ae1aee
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 0 deletions.
16 changes: 16 additions & 0 deletions .bumpversion.cfg
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
[bumpversion]
current_version = 11.7.4
commit = True
tag = False

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

[bumpversion:file:README.md]
search = v{current_version}
replace = v{new_version}

[bumpversion:file:core/__init__.py]
search = __version__ = '{current_version}'
replace = __version__ = '{new_version}'
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
*.cfg
!.bumpversion.cfg
*.cfg.old
*.pyc
*.pyo
Expand Down

0 comments on commit 6ae1aee

Please sign in to comment.