Skip to content

Commit

Permalink
feat: version in init
Browse files Browse the repository at this point in the history
  • Loading branch information
asafgardin committed Dec 12, 2023
1 parent 52dd875 commit a089b2e
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 2 deletions.
3 changes: 3 additions & 0 deletions ai21/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
from .version import VERSION

__version__ = VERSION
2 changes: 1 addition & 1 deletion ai21/version.py
Original file line number Diff line number Diff line change
@@ -1 +1 @@
__version__ = "2.0.0"
VERSION = "2.0.0"
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ version_toml = [
"pyproject.toml:tool.poetry.version"
]
version_variables = [
"ai21/version.py:__version__"
"ai21/version.py:VERSION"
]

match = "(main)"
Expand Down

0 comments on commit a089b2e

Please sign in to comment.