Skip to content

Commit

Permalink
build: configure bumpversion
Browse files Browse the repository at this point in the history
  • Loading branch information
andreoliwa committed Mar 11, 2019
1 parent 8b8abbf commit 2b75175
Show file tree
Hide file tree
Showing 3 changed files with 30 additions and 1 deletion.
2 changes: 1 addition & 1 deletion clit/__version__.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
"""Version."""

__version__ = "0.8.0"
__version__ = "0.9.0"
8 changes: 8 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
{
"name": "clit",
"version": "0.9.0",
"repository": {
"type": "git",
"url": "https://github.com/andreoliwa/python-clit.git"
}
}
21 changes: 21 additions & 0 deletions setup.cfg
Original file line number Diff line number Diff line change
@@ -1,3 +1,24 @@
[bumpversion]
current_version = 0.9.0
commit = False
tag = False

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

[bumpversion:file:pyproject.toml]
search = version = "{current_version}"
replace = version = "{new_version}"

[bumpversion:file:package.json]
search = "version": "{current_version}",
replace = "version": "{new_version}",

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

[wheel]
universal = 1

Expand Down

0 comments on commit 2b75175

Please sign in to comment.