Skip to content

Commit be89037

Browse files
committed
Bump version: 1.3 → 1.4.0
- Add bumpversion config - Use semver to make bumpversion package work
1 parent 80c755d commit be89037

File tree

5 files changed

+19
-11
lines changed

5 files changed

+19
-11
lines changed

.bumpversion.cfg

+12
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
[bumpversion]
2+
current_version = 1.4.0
3+
commit = True
4+
tag = True
5+
tag_name = "{new_version}"
6+
7+
[bumpversion:file:setup.py]
8+
9+
[bumpversion:file:itoolkit/__init__.py]
10+
11+
[bumpversion:file:docs/conf.py]
12+

README.md

+3-7
Original file line numberDiff line numberDiff line change
@@ -88,13 +88,9 @@ examples:
8888
make doc:
8989
> python make_doc.py
9090
91-
remember versions change:
92-
> setup.py
93-
version='x.x' to 'n.n'
94-
> setup-lite.py
95-
version='x.x' to 'n.n'
96-
> itoolkit/__init__.py
97-
__version__ = "x.x" to "n.n"
91+
Update version:
92+
93+
> [bumpversion](https://pypi.python.org/pypi/bumpversion) minor
9894
9995
Can be problem for egg builds.
10096

docs/conf.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -55,9 +55,9 @@
5555
# built documents.
5656
#
5757
# The short X.Y version.
58-
version = '1.2'
58+
version = '1.4.0'
5959
# The full version, including alpha/beta/rc tags.
60-
release = '1.2'
60+
release = '1.4.0'
6161

6262
# The language for content autogenerated by Sphinx. Refer to documentation
6363
# for a list of supported languages.

itoolkit/__init__.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
# __all__ = ['itoolkit']
2-
__version__ = "1.2"
2+
__version__ = "1.4.0"
33
from .itoolkit import *
44

setup.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ def finalize_options(self):
3434

3535
setup(
3636
name='itoolkit',
37-
version='1.3',
37+
version='1.4.0',
3838
description='IBM i toolkit',
3939
long_description='IBM i toolkit',
4040
# url='https://github.com/pypa/sampleproject',

0 commit comments

Comments
 (0)