Skip to content

Commit d1e9ec6

Browse files
committed
Write version information to commercetools.__version__
This is done by bumpversion
1 parent 96e7b8c commit d1e9ec6

File tree

3 files changed

+3
-0
lines changed

3 files changed

+3
-0
lines changed

.bumpversion.cfg

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,5 +19,6 @@ values =
1919
rc
2020

2121
[bumpversion:file:setup.py]
22+
[bumpversion:file:commercetools/version.py]
2223

2324
[bumpversion:file:docs/conf.py]

src/commercetools/__init__.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
from .client import Client
22
from .exceptions import CommercetoolsError
3+
from .version import __version__
34

45
__all__ = ["Client", "CommercetoolsError"]

src/commercetools/version.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
__version__ = "2022.6.4"

0 commit comments

Comments
 (0)