Skip to content

Commit

Permalink
Update version
Browse files Browse the repository at this point in the history
  • Loading branch information
mjwen committed Dec 17, 2023
1 parent d05be1d commit 76fe40d
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 6 deletions.
8 changes: 6 additions & 2 deletions api_compatibility.txt
Original file line number Diff line number Diff line change
@@ -1,7 +1,10 @@
#
# To update kimpy version (in kimpy/__init__.py) and kim-api version (in .travis.yml),
# To update kimpy version in:
# - kimpy/__init__.py
# and kim-api version in:
# - .github/*
# append to this table and then run:
# $ python utils/update_version.py
# $ python devtools/update_version.py
#

# kimpy-version target-api-version backward-compatible-api-version
Expand All @@ -22,3 +25,4 @@
2.0.0 2.2.1 2.2.1
2.0.1 2.3.0 2.2.1
2.1.0 2.3.0 2.2.1
2.1.1 2.3.0 2.2.1
3 changes: 0 additions & 3 deletions devtools/update_version.py
Original file line number Diff line number Diff line change
Expand Up @@ -48,8 +48,5 @@ def update_version(version, path, key, in_quotes=False, extra_space=False):
path = kimpy_dir / "kimpy" / "__init__.py"
update_version(kimpy_v, path, "__version__", True, True)

path = kimpy_dir / ".travis.yml"
update_version(api_v, path, "export KIM_API_VERSION", in_quotes=True)

path = kimpy_dir / ".github/workflows/testing.yml"
update_version(api_v, path, "kim-api", in_quotes=False)
2 changes: 1 addition & 1 deletion kimpy/__init__.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
__version__ = "2.1.0"
__version__ = "2.1.1"

# import all modules
from . import model
Expand Down

0 comments on commit 76fe40d

Please sign in to comment.