Skip to content
This repository was archived by the owner on May 23, 2023. It is now read-only.

Commit a1d5647

Browse files
committed
Add bumpversion config
1 parent 7250fe5 commit a1d5647

File tree

2 files changed

+11
-1
lines changed

2 files changed

+11
-1
lines changed

setup.cfg

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
[bumpversion]
2+
current_version = 1.0.7
3+
commit = True
4+
tag = True
5+
6+
[bumpversion:file:setup.py]
7+
search = version = "{current_version}"

setup.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,9 @@ def run_tests(self):
4242
'https://github.com/ethereum/serpent/tarball/develop': 'ethereum-serpent>=1.8.1'}
4343
tests_require = [tests_require_replacements.get(r, r) for r in tests_require]
4444

45+
# *IMPORTANT*: Don't manually change the version here. Use the 'bumpversion' utility.
46+
# see: https://github.com/ethereum/pyethapp/wiki/Development:-Versions-and-Releases
47+
version = '1.0.7'
4548

4649
setup(name="ethereum",
4750
packages=find_packages("."),
@@ -51,6 +54,6 @@ def run_tests(self):
5154
install_requires=install_requires,
5255
tests_require=tests_require,
5356
entry_points=dict(console_scripts=console_scripts),
54-
version='1.0.7',
57+
version=version,
5558
cmdclass=cmdclass
5659
)

0 commit comments

Comments
 (0)